summaryrefslogtreecommitdiff
path: root/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch')
-rw-r--r--dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch
new file mode 100644
index 000000000000..3dd405372525
--- /dev/null
+++ b/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch
@@ -0,0 +1,18 @@
+diff --git a/etc/pgbouncer.ini b/etc/pgbouncer.ini
+index fed4a9f..5f2ed8e 100644
+--- a/etc/pgbouncer.ini
++++ b/etc/pgbouncer.ini
+@@ -55,9 +55,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
+