BUG #6310: Startup Script

From: "Sidar Lopez" <sidar(dot)lopez(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6310: Startup Script
Date: 2011-11-25 16:21:25
Message-ID: 201111251621.pAPGLPIO093603@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6310
Logged by: Sidar Lopez
Email address: sidar(dot)lopez(at)gmail(dot)com
PostgreSQL version: 9.1.1
Operating system: Mac OS X
Description: Startup Script
Details:

Log file is not being created at ${PGLOG} location.

Change this line at Mac OS X startup script in StartService ():
sudo -u $PGUSER sh -c "${DAEMON} -D '${PGDATA}' &" 2>&1 | ${LOGUTIL}
'${PGLOG}' ${ROTATESEC} &

by this one:
sudo -u $PGUSER sh -c "${DAEMON} -D '${PGDATA}' &" 2>&1 | ${LOGUTIL}
${PGLOG} ${ROTATESEC} &

and this one in RestartService ():
sudo -u $PGUSER sh -c "${DAEMON} -D '${PGDATA}' &" 2>&1 | ${LOGUTIL}
'${PGLOG}' ${ROTATESEC} &

by this one:
sudo -u $PGUSER sh -c "${DAEMON} -D '${PGDATA}' &" 2>&1 | ${LOGUTIL}
${PGLOG} ${ROTATESEC} &

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2011-11-25 18:33:42 Re: BUG #6307: intarray extention gin index does not work with Hot standby
Previous Message Andrew Milne 2011-11-25 12:51:51 BUG #6309: ECPG pre-processor issue