From: Jeff Frost <jeff@pgexperts.com>
To: pgsql-pkg-debian@postgresql.org
Subject: pgbouncer init script does not create /var/run/postgresql directory
Date: Fri, 20 Dec 2013 14:29:48 -0800
Message-ID: <52B4C4DC.4070302@pgexperts.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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@pgexperts.com>
CTO, PostgreSQL Experts, Inc.
Phone: 1-888-PG-EXPRT x506
FAX: 415-762-5122
http://www.pgexperts.com/
--
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-pkg-debian@postgresql.org
Cc: jeff@pgexperts.com
Subject: Re: pgbouncer init script does not create /var/run/postgresql directory
In-Reply-To: <52B4C4DC.4070302@pgexperts.com>
References: <52B4C4DC.4070302@pgexperts.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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