pgbouncer init script does not create /var/run/postgresql directory - Mailing list pgsql-pkg-debian

From Jeff Frost
Subject pgbouncer init script does not create /var/run/postgresql directory
Date
Msg-id 52B4C4DC.4070302@pgexperts.com
Whole thread Raw
List 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@pgexperts.com>
CTO, PostgreSQL Experts, Inc.
Phone: 1-888-PG-EXPRT x506
FAX: 415-762-5122
http://www.pgexperts.com/



pgsql-pkg-debian by date:

Previous
From: Christoph Berg
Date:
Subject: Re: Still errors on 9.2 with precise
Next
From: Christoph Berg
Date:
Subject: Re: Still errors on 9.2 with precise