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

which works.

HTH

James.



Reply via email to