~dricottone/huttese-apk

ref: 7f89568c4e427436cdc0ecb4f06f13a779e33b3e huttese-apk/sr.ht/pgbouncer/pgbouncer-dirs.patch -rw-r--r-- 624 bytes
7f89568c — Drew DeVault hg.sr.ht: add -nginx subpackage 4 years ago
                                                                                
f23b7fc8 Drew DeVault
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/etc/pgbouncer.ini b/etc/pgbouncer.ini
index fed4a9f..f5204c2 100644
--- a/etc/pgbouncer.ini
+++ b/etc/pgbouncer.ini
@@ -43,7 +43,7 @@
 ;;;
 
 logfile = /var/log/pgbouncer/pgbouncer.log
-pidfile = /var/run/pgbouncer/pgbouncer.pid
+pidfile =
 
 ;;;
 ;;; Where to wait for clients
@@ -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