Skip to content
Snippets Groups Projects
Commit 21517e59 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

The old init file won't run under bash on my box.

Joseph Shraibman
parent 6dd06737
No related branches found
No related tags found
No related merge requests found
......@@ -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}`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment