File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
roles/pgbouncer/templates Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ listen_port = {{ pgbouncer_listen_port }}
77auth_type = md5
88auth_file = /etc/pgbouncer/userlist.txt
99logfile = /var/log/pgbouncer/pgbouncer.log
10- pidfile = /run/pgbouncer.pid
10+ pidfile = /run/pgbouncer/pgbouncer .pid
1111admin_users = {{ pgbouncer_auth_user }}
1212pool_mode = {{ pgbouncer_pool_mode }}
1313server_reset_query = DISCARD ALL
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ ExecReload=/bin/kill -HUP $MAINPID
99Restart=always
1010User=pgbouncer
1111Group=pgbouncer
12- PIDFile=/run/pgbouncer.pid
12+ RuntimeDirectory=pgbouncer
13+ RuntimeDirectoryMode=0755
14+ PIDFile=/run/pgbouncer/pgbouncer.pid
1315StandardOutput=append:/var/log/pgbouncer/pgbouncer.log
1416StandardError=append:/var/log/pgbouncer/pgbouncer.log
1517
You can’t perform that action at this time.
0 commit comments