#!/bin/sh if [ -e "/var/run/pgbouncer/pgbouncer.pid" ] then echo "removing pgbouncer pid" rm /var/run/pgbouncer/pgbouncer.pid fi exec "$@" -R -v -u pg /etc/pgbouncer/pgbouncer.ini