Re: [GENERAL] start up and shut down script

2006-11-03 Thread Tom Lane
Richard Huxton writes: > surabhi.ahuja wrote: >> i have noted the following lines in the script to start or shut down >> postmaster. >> ... > Yes - this looks like a Red Hat script. It's certainly not the one that > ships with the source distribution. It's not the one that ships with Red Hat,

Re: [GENERAL] start up and shut down script

2006-11-03 Thread Richard Huxton
surabhi.ahuja wrote: I am using PostgreSQL 8.0.0. i have noted the following lines in the script to start or shut down postmaster. Can you please let me know why they are needed if [ "`uname`" = "Linux" ]; then INITD=/etc/rc.d/init.d . $INITD/functions # Get config. . /etc/sy

Re: [GENERAL] start up and shut down script

2006-11-03 Thread Martijn van Oosterhout
On Fri, Nov 03, 2006 at 01:40:35PM +0530, surabhi.ahuja wrote: > I am using PostgreSQL 8.0.0. > > i have noted the following lines in the script to start or shut down > postmaster. > Can you please let me know why they are needed Where did you get these fragments from? They appear to be for a

[GENERAL] start up and shut down script

2006-11-03 Thread surabhi.ahuja
I am using PostgreSQL 8.0.0.    i have noted the following lines in the script to start or shut down postmaster. Can you please let me know why they are needed   if [ "`uname`" = "Linux" ]; then   INITD=/etc/rc.d/init.d   . $INITD/functions   # Get config.   . /etc/sysconfig/networkfi and   i