diff options
Diffstat (limited to 'contrib/linux/postgres.init.sh')
-rwxr-xr-x | contrib/linux/postgres.init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/linux/postgres.init.sh b/contrib/linux/postgres.init.sh index ed538953d45..556671d4878 100755 --- a/contrib/linux/postgres.init.sh +++ b/contrib/linux/postgres.init.sh @@ -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}` |