Обсуждение: pgbouncer init script does not create /var/run/postgresql directory

Поиск
Список
Период
Сортировка

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

От
Jeff Frost
Дата:
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/