Skip to content

Commit 489a834

Browse files
committed
fix: restart always pgbouncer service
1 parent 9ae28f1 commit 489a834

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: ansible/files/pgbouncer_config/pgbouncer.service.j2

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ ExecStart=/usr/local/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini
1515
ExecReload=/bin/kill -HUP $MAINPID
1616
KillSignal=SIGINT
1717
LimitNOFILE=65536
18+
Restart=always
19+
RestartSec=5
1820

1921
[Install]
2022
WantedBy=multi-user.target

0 commit comments

Comments
 (0)