]> granicus.if.org Git - postgresql/commitdiff
The old init file won't run under bash on my box.
authorBruce Momjian <bruce@momjian.us>
Tue, 16 May 2000 03:18:43 +0000 (03:18 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 16 May 2000 03:18:43 +0000 (03:18 +0000)
Joseph Shraibman

contrib/linux/postgres.init.sh

index ed538953d45138cce68ad081ecda426245d95319..556671d4878e74a0f732a114c1809e2ef629b193 100755 (executable)
@@ -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}`