pgbouncer init script does not create /var/run/postgresql directory

From: Jeff Frost <jeff(at)pgexperts(dot)com>
To: pgsql-pkg-debian(at)postgresql(dot)org
Subject: pgbouncer init script does not create /var/run/postgresql directory
Date: 2013-12-20 22:29:48
Message-ID: 52B4C4DC.4070302@pgexperts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

The pgbouncer init script uses a PIDFILE in /var/run/postgresql, but that
directory is not created by the init script, so after a reboot, pgbouncer will
not start.

It probably should do something like the postgresql init script does:

if [ -d /var/run/postgresql ]; then
chmod 2775 /var/run/postgresql
else
install -d -m 2775 -o postgres -g postgres /var/run/postgresql
fi

--
Jeff Frost <jeff(at)pgexperts(dot)com>
CTO, PostgreSQL Experts, Inc.
Phone: 1-888-PG-EXPRT x506
FAX: 415-762-5122
http://www.pgexperts.com/

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2013-12-30 15:39:03 Re: Still errors on 9.2 with precise
Previous Message Christoph Berg 2013-12-18 10:48:33 Re: Still errors on 9.2 with precise