aboutsummaryrefslogtreecommitdiff
path: root/contrib/linux/postgres.init.sh
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-05-16 03:18:43 +0000
committerBruce Momjian <bruce@momjian.us>2000-05-16 03:18:43 +0000
commit21517e59607c2cbb5e7c9328f27d579c3e3682a4 (patch)
treedc025b300a31d4f0797f5624db5c03b27d686fd6 /contrib/linux/postgres.init.sh
parent6dd06737bad7fcc6b791efa975438c7237fe7d26 (diff)
downloadpostgresql-21517e59607c2cbb5e7c9328f27d579c3e3682a4.tar.gz
postgresql-21517e59607c2cbb5e7c9328f27d579c3e3682a4.zip
The old init file won't run under bash on my box.
Joseph Shraibman
Diffstat (limited to 'contrib/linux/postgres.init.sh')
-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 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}`