We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd0673 commit 21517e5Copy full SHA for 21517e5
contrib/linux/postgres.init.sh
@@ -124,7 +124,7 @@ case "$1" in
124
if [ ${USE_SYSLOG} = "yes" ]; then
125
su - ${PGACCOUNT} -c "(${POSTMASTER} ${PGOPTS} 2>&1 | logger -p ${FACILITY}.notice) &" > /dev/null 2>&1 &
126
else
127
- su - ${PGACCOUNT} -c "${POSTMASTER} ${PGOPTS} 2>>&1 ${PGLOGFILE} &" > /dev/null 2>&1 &
+ su - ${PGACCOUNT} -c "${POSTMASTER} ${PGOPTS} >> ${PGLOGFILE} 2>&1 &" > /dev/null 2>&1 &
128
fi
129
sleep 5
130
pid=`pidof ${POSTMASTER}`
0 commit comments