concordia-server/upstart/cmake_stubs/pgbouncer.conf.in

21 lines
321 B
Plaintext

# PgBouncer Upstart script
description "pgbouncer"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]
respawn
respawn limit 10 30
expect fork
script
exec pgbouncer -u @UNIX_USER@ @concordia-server_SOURCE_DIR@/db/pgbouncer.ini &
sleep 4
end script