Skip to content

Commit b32d2ad

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ansible/files/pgbouncer_config/pgbouncer.service.j2

Lines changed: 2 additions & 0 deletions
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=3
1820

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

0 commit comments

Comments
 (0)