mirror of
https://github.com/postgres/postgres.git
synced 2026-06-13 18:50:17 -04:00
The old init file won't run under bash on my box.
Joseph Shraibman
This commit is contained in:
parent
6dd06737ba
commit
21517e5960
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ case "$1" in
|
|||
if [ ${USE_SYSLOG} = "yes" ]; then
|
||||
su - ${PGACCOUNT} -c "(${POSTMASTER} ${PGOPTS} 2>&1 | logger -p ${FACILITY}.notice) &" > /dev/null 2>&1 &
|
||||
else
|
||||
su - ${PGACCOUNT} -c "${POSTMASTER} ${PGOPTS} 2>>&1 ${PGLOGFILE} &" > /dev/null 2>&1 &
|
||||
su - ${PGACCOUNT} -c "${POSTMASTER} ${PGOPTS} >> ${PGLOGFILE} 2>&1 &" > /dev/null 2>&1 &
|
||||
fi
|
||||
sleep 5
|
||||
pid=`pidof ${POSTMASTER}`
|
||||
|
|
|
|||
Loading…
Reference in a new issue