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

21 lines
321 B
Plaintext
Raw Normal View History

2015-12-16 09:48:15 +01:00
# 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
2015-12-16 09:58:42 +01:00
exec pgbouncer -u @UNIX_USER@ @concordia-server_SOURCE_DIR@/db/pgbouncer.ini &
2015-12-16 09:48:15 +01:00
sleep 4
end script