35 lines
974 B
Plaintext
35 lines
974 B
Plaintext
$OpenBSD: patch-etc_pgbouncer_ini,v 1.2 2012/01/17 13:57:24 pea Exp $
|
|
--- etc/pgbouncer.ini.orig Mon Dec 12 18:09:54 2011
|
|
+++ etc/pgbouncer.ini Wed Jan 11 10:02:47 2012
|
|
@@ -27,8 +27,8 @@ nondefaultdb = pool_size=50 reserve_pool=10
|
|
;;; Administrative settings
|
|
;;;
|
|
|
|
-logfile = pgbouncer.log
|
|
-pidfile = pgbouncer.pid
|
|
+logfile = /var/log/pgbouncer/pgbouncer.log
|
|
+pidfile = /var/run/pgbouncer/pgbouncer.pid
|
|
|
|
;;;
|
|
;;; Where to wait for clients
|
|
@@ -47,16 +47,16 @@ listen_port = 6432
|
|
;;;
|
|
|
|
; any, trust, plain, crypt, md5
|
|
-auth_type = trust
|
|
+auth_type = md5
|
|
;auth_file = 8.0/main/global/pg_auth
|
|
-auth_file = etc/userlist.txt
|
|
+auth_file = /etc/pgbouncer/userlist.txt
|
|
|
|
;;;
|
|
;;; Users allowed into database 'pgbouncer'
|
|
;;;
|
|
|
|
; comma-separated list of users, who are allowed to change settings
|
|
-admin_users = user2, someadmin, otheradmin
|
|
+admin_users = admin, pgbouncer
|
|
|
|
; comma-separated list of users who are just allowed to use SHOW command
|
|
stats_users = stats, root
|