openbsd-ports/databases/pgbouncer/pkg/README
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

23 lines
742 B
Plaintext

$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.