Re: [GENERAL] pgbouncer not finding pidfile

2014-07-30 Thread Tobias Fielitz
I have played around with it a bit more, it seems adding the pre-start section works: pre-start script if [ -d /var/run/postgresql ]; then chmod 2775 /var/run/postgresql else install -d -m 2775 -o postgres -g postgres /var/run/postgresql fi end script Thanks Adrian!

Re: [GENERAL] pgbouncer not finding pidfile

2014-07-30 Thread Adrian Klaver
On 07/28/2014 09:33 PM, Tobias Fielitz wrote: Hi, I am trying to start pgbouncer via upstart script. The upstart logs (/var/log/upstart/pgbouncer.log) tell me: /var/run/postgresql/pgbouncer.pid: No such file or directory [2] but when starting pgbouncer from the console with: > sudo service pg

[GENERAL] pgbouncer not finding pidfile

2014-07-28 Thread Tobias Fielitz
Hi, I am trying to start pgbouncer via upstart script. The upstart logs (/var/log/upstart/pgbouncer.log) tell me: /var/run/postgresql/pgbouncer.pid: No such file or directory [2] but when starting pgbouncer from the console with: > sudo service pgbouncer start it works fine and the pidfile i