make service restart on failure and increase open file limit

This commit is contained in:
ace 2024-03-21 00:23:58 +03:00
parent c3d27c367b
commit 55e2796059
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -70,6 +70,8 @@
User={{ pgbouncer_systemd_user }}
Group=
Group={{ pgbouncer_systemd_group }}
LimitNOFILE=1048576
Restart=on-failure
- name: Enable log rotation with logrotate
copy: