Le Mercredi 29 Janvier 2003 08:12, James Gregory a �crit :
> On Wed, 2003-01-29 at 18:04, James Gregory wrote:
> > I suspect the culprit is this line:
> >
> > su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl  -D $PGDATA -p
> > /usr/bin/postmaster -o '-p ${PGPORT}' start  > /dev/null 2>&1" <
> > /dev/null
>
> ... indeed it was. I'm now using this:
>
> su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl  -D $PGDATA -p
> /usr/bin/postmaster -o '-p ${PGPORT} ${PGOPTS}' start  > /dev/null 2>&1"
> < /dev/null
Don't change the initscript. Use /var/log/pgsql/data/postgres.conf instead.
-- 
If such a program has not crashed yet, it is waiting for a critical moment 
before it crashes. 
        -- Murphy's Computer Laws n�6


Reply via email to