From 489a834f098c7db6c4d8ff5948e2f2ced291ee50 Mon Sep 17 00:00:00 2001 From: delgado3d <27228526+delgado3d@users.noreply.github.com> Date: Fri, 4 Apr 2025 16:36:33 +0530 Subject: [PATCH] fix: restart always pgbouncer service --- ansible/files/pgbouncer_config/pgbouncer.service.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/files/pgbouncer_config/pgbouncer.service.j2 b/ansible/files/pgbouncer_config/pgbouncer.service.j2 index 1ec5ea378..7fcc9acbe 100644 --- a/ansible/files/pgbouncer_config/pgbouncer.service.j2 +++ b/ansible/files/pgbouncer_config/pgbouncer.service.j2 @@ -15,6 +15,8 @@ ExecStart=/usr/local/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini ExecReload=/bin/kill -HUP $MAINPID KillSignal=SIGINT LimitNOFILE=65536 +Restart=always +RestartSec=5 [Install] WantedBy=multi-user.target