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

19 lines
262 B
Plaintext
Raw Normal View History

2015-12-16 09:48:15 +01:00
# PgBouncer Upstart script
description "pgbouncer"
2015-12-29 22:13:21 +01:00
start on started postgresql
2015-12-16 09:48:15 +01:00
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 13:30:03 +01:00
sleep 6
2015-12-16 09:48:15 +01:00
end script