pgbouncer.rc 286 B

123456789101112131415
  1. #!/bin/sh
  2. #
  3. # $OpenBSD: pgbouncer.rc,v 1.3 2011/12/17 22:01:12 sthen Exp $
  4. daemon="${TRUEPREFIX}/bin/pgbouncer -d"
  5. daemon_flags="-q -u _pgbouncer ${SYSCONFDIR}/pgbouncer/pgbouncer.ini"
  6. . /etc/rc.d/rc.subr
  7. rc_pre() {
  8. /usr/bin/install -d -o _pgbouncer /var/run/pgbouncer
  9. }
  10. rc_cmd $1