Re: [ADMIN] Logging the starting and stopping of PostgreSQL

2007-08-24 Thread Campbell, Lance
:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 5:00 PM To: Campbell, Lance Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Logging the starting and stopping of PostgreSQL Campbell, Lance wrote: I have a script that starts PostgreSQL as a service. It uses the following command to start

Re: [ADMIN] Logging the starting and stopping of PostgreSQL

2007-08-23 Thread Chander Ganesan
Campbell, Lance wrote: I have a script that starts PostgreSQL as a service. It uses the following command to start the database: $SU -l postgres -c "$PGENGINE/postmaster -p '$PGPORT' -D '$PGDATA' ${PGOPTS} &" >> "$PGLOG" 2>&1 < /dev/null You do know that there is a pre-built startup sc

[ADMIN] Logging the starting and stopping of PostgreSQL

2007-08-23 Thread Campbell, Lance
I have a script that starts PostgreSQL as a service. It uses the following command to start the database: $SU -l postgres -c "$PGENGINE/postmaster -p '$PGPORT' -D '$PGDATA' ${PGOPTS} &" >> "$PGLOG" 2>&1 < /dev/null On my production server I use a slightly different command: exec ${PGEN