From 21517e59607c2cbb5e7c9328f27d579c3e3682a4 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 16 May 2000 03:18:43 +0000 Subject: [PATCH] The old init file won't run under bash on my box. Joseph Shraibman --- contrib/linux/postgres.init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/linux/postgres.init.sh b/contrib/linux/postgres.init.sh index ed538953d4..556671d487 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}`