aports/community/pgbouncer/pgbouncer-dirs.patch

27 lines
638 B
Diff

diff --git a/etc/pgbouncer.ini b/etc/pgbouncer.ini
index 1ce88a7..f7c9409 100644
--- a/etc/pgbouncer.ini
+++ b/etc/pgbouncer.ini
@@ -34,7 +34,7 @@
;;;
logfile = /var/log/pgbouncer/pgbouncer.log
-pidfile = /var/run/pgbouncer/pgbouncer.pid
+;pidfile = # do not set!
;;;
;;; Where to wait for clients
@@ -46,9 +46,9 @@ listen_port = 6432
; Unix socket is also used for -R.
; On Debian it should be /var/run/postgresql
-;unix_socket_dir = /tmp
-;unix_socket_mode = 0777
-;unix_socket_group =
+unix_socket_dir = /run/postgresql
+unix_socket_mode = 0777
+unix_socket_group = postgres
;;;
;;; TLS settings for accepting clients