openbsd-ports/databases/pgbouncer/pkg
ajacoutot 0691c69586 Use RCDIR instead of /etc/rc.d when refering to packages rc scripts.
discussed with espie and sthen
ok sthen@
2012-04-22 11:41:55 +00:00
..
DESCR
pgbouncer.rc Where a program with an rc script _requires_ a certain command line 2011-12-17 22:01:12 +00:00
PLIST Update to 1.5 2012-01-17 13:57:24 +00:00
README Use RCDIR instead of /etc/rc.d when refering to packages rc scripts. 2012-04-22 11:41:55 +00:00

$OpenBSD: README,v 1.5 2012/04/22 11:41:55 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

Post-installation steps
=======================
1. Carefully edit ${SYSCONFDIR}/pgbouncer/pgbouncer.ini and 
   ${SYSCONFDIR}/pgbouncer/userlist.txt to fit your needs.

2. Launch pgbouncer in foreground mode to see if everything 
   is ok:

   # install -d -o _pgbouncer /var/run/pgbouncer
   # pgbouncer -u _pgbouncer ${SYSCONFDIR}/pgbouncer/pgbouncer.ini

3. Launch pgbouncer with ${RCDIR}/pgbouncer start

Random hints
============
Check /var/log/pgbouncer/pgbouncer.log if something goes wrong.