aboutsummaryrefslogtreecommitdiffstats
path: root/community/pgbouncer/pgbouncer-dirs.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-05-02 00:59:53 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-05-02 01:01:45 +0200
commit88d64be07ce0458bb0a8cd4e40ae2c06fbe2c4bb (patch)
tree5a1db6dc08114d137ecd0feab6c6aa90917a1856 /community/pgbouncer/pgbouncer-dirs.patch
parent536fc9dbe00a90566b1d08a7252dbe9b098c3cba (diff)
downloadaports-88d64be07ce0458bb0a8cd4e40ae2c06fbe2c4bb.tar.bz2
aports-88d64be07ce0458bb0a8cd4e40ae2c06fbe2c4bb.tar.xz
community/pgbouncer: move from testing
Diffstat (limited to 'community/pgbouncer/pgbouncer-dirs.patch')
-rw-r--r--community/pgbouncer/pgbouncer-dirs.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/pgbouncer/pgbouncer-dirs.patch b/community/pgbouncer/pgbouncer-dirs.patch
new file mode 100644
index 0000000000..7945376d87
--- /dev/null
+++ b/community/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 = # do not set!
+
+ ;;;
+ ;;; 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