2012-04-22 11:41:55 +00:00
|
|
|
$OpenBSD: README,v 1.5 2012/04/22 11:41:55 ajacoutot Exp $
|
2010-07-08 16:18:06 +00:00
|
|
|
|
2011-06-02 13:41:36 +00:00
|
|
|
+-----------------------------------------------------------------------
|
|
|
|
| Running ${FULLPKGNAME} on OpenBSD
|
|
|
|
+-----------------------------------------------------------------------
|
2010-07-08 16:18:06 +00:00
|
|
|
|
2011-06-02 13:41:36 +00:00
|
|
|
Post-installation steps
|
|
|
|
=======================
|
2010-11-23 18:14:19 +00:00
|
|
|
1. Carefully edit ${SYSCONFDIR}/pgbouncer/pgbouncer.ini and
|
|
|
|
${SYSCONFDIR}/pgbouncer/userlist.txt to fit your needs.
|
2010-07-08 16:18:06 +00:00
|
|
|
|
2010-11-23 18:14:19 +00:00
|
|
|
2. Launch pgbouncer in foreground mode to see if everything
|
2010-07-08 16:18:06 +00:00
|
|
|
is ok:
|
|
|
|
|
|
|
|
# install -d -o _pgbouncer /var/run/pgbouncer
|
2010-07-08 16:23:54 +00:00
|
|
|
# pgbouncer -u _pgbouncer ${SYSCONFDIR}/pgbouncer/pgbouncer.ini
|
2010-07-08 16:18:06 +00:00
|
|
|
|
2012-04-22 11:41:55 +00:00
|
|
|
3. Launch pgbouncer with ${RCDIR}/pgbouncer start
|
2010-07-08 16:18:06 +00:00
|
|
|
|
2011-06-02 13:41:36 +00:00
|
|
|
Random hints
|
|
|
|
============
|
2010-11-23 18:14:19 +00:00
|
|
|
Check /var/log/pgbouncer/pgbouncer.log if something goes wrong.
|