Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id A70961973BE4 for ; Fri, 25 Nov 2011 12:21:39 -0400 (AST) Received: from wwwmaster.postgresql.org ([217.196.146.204]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RTyWw-0002rV-NT for pgsql-bugs@postgresql.org; Fri, 25 Nov 2011 16:21:39 +0000 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id pAPGLP5Q093604 for ; Fri, 25 Nov 2011 16:21:25 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id pAPGLPIO093603; Fri, 25 Nov 2011 16:21:25 GMT (envelope-from www) Date: Fri, 25 Nov 2011 16:21:25 GMT Message-Id: <201111251621.pAPGLPIO093603@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6310: Startup Script From: "Sidar Lopez" Content-Type: text/plain; charset=utf-8 X-Archive-Number: 201111/183 X-Sequence-Number: 31778 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} &