summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2000-05-16 03:18:43 +0000
committerBruce Momjian2000-05-16 03:18:43 +0000
commitc5d1a3bcfa9ef17e0fd2391c060aad8e2353ebc0 (patch)
treefae34a6ff9556daf17b650fc8a9ed50d727f0c60
parent41ad6f13bbd71e0620dbd6f7e4e9639f3ce4b37f (diff)
The old init file won't run under bash on my box.
Joseph Shraibman
-rwxr-xr-xcontrib/linux/postgres.init.sh2
1 files changed, 1 insertions, 1 deletions
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}`