pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6310: Startup Script
2+ messages / 2 participants
[nested] [flat]

* BUG #6310: Startup Script
@ 2011-11-25 16:21 Sidar Lopez <sidar.lopez@gmail.com>
  2011-11-26 17:45 ` Re: BUG #6310: Startup Script Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Sidar Lopez @ 2011-11-25 16:21 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      6310
Logged by:          Sidar Lopez
Email address:      sidar.lopez@gmail.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} &



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #6310: Startup Script
  2011-11-25 16:21 BUG #6310: Startup Script Sidar Lopez <sidar.lopez@gmail.com>
@ 2011-11-26 17:45 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2011-11-26 17:45 UTC (permalink / raw)
  To: Sidar Lopez <sidar.lopez@gmail.com>; +Cc: pgsql-bugs

"Sidar Lopez" <sidar.lopez@gmail.com> writes:
> Operating system:   Mac OS X
> Description:        Startup Script

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

Hmm, yeah, that's overly-quoted.  Will fix, thanks for the report!

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-11-26 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-11-25 16:21 BUG #6310: Startup Script Sidar Lopez <sidar.lopez@gmail.com>
2011-11-26 17:45 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox