Skip to content

Commit

Permalink
pgbouncer: auto-recovery of crashed pgbouncer.service with systemd.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Mar 4, 2020
1 parent 601dc77 commit 3444c3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/pgbouncer.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ExecStart=/usr/bin/pgbouncer -d {{ pgbouncer_conf_dir }}/pgbouncer.ini
{% endif %}
ExecReload=/bin/kill -SIGHUP $MAINPID
PIDFile=/var/run/pgbouncer/pgbouncer.pid
Restart=on-failure

LimitNOFILE=100000

Expand Down

0 comments on commit 3444c3f

Please sign in to comment.