aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pgbouncer/pgbouncer-dirs.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-02-20 11:27:11 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-02-20 11:27:17 +0000
commite6de48d4857379d7e1d83c13a661503dd47fda0a (patch)
tree2e11e2692633604d64034a25c3f722750e864c6e /testing/pgbouncer/pgbouncer-dirs.patch
parent57241d9646f1db85174c810c86fe40b5daa1e65f (diff)
testing/pgbouncer: new aport. Fixes #6766
Diffstat (limited to 'testing/pgbouncer/pgbouncer-dirs.patch')
-rw-r--r--testing/pgbouncer/pgbouncer-dirs.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/pgbouncer/pgbouncer-dirs.patch b/testing/pgbouncer/pgbouncer-dirs.patch
new file mode 100644
index 00000000000..62bcd0b8440
--- /dev/null
+++ b/testing/pgbouncer/pgbouncer-dirs.patch
@@ -0,0 +1,26 @@
+diff -Naruw a/etc/pgbouncer.ini b/etc/pgbouncer.ini
+--- a/etc/pgbouncer.ini 2012-06-10 19:57:01.000000000 +0000
++++ b/etc/pgbouncer.ini 2013-07-17 02:25:59.598888628 +0000
+@@ -29,7 +29,7 @@
+ ;;;
+
+ logfile = /var/log/pgbouncer/pgbouncer.log
+-pidfile = /var/run/pgbouncer/pgbouncer.pid
++pidfile = /run/pgbouncer/pgbouncer.pid
+
+ ;;;
+ ;;; Where to wait for clients
+@@ -40,10 +40,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
+
+ ;;;
+ ;;; Authentication settings