entrypoint.sh 185 B

123456789
  1. #!/bin/sh
  2. if [ -e "/var/run/pgbouncer/pgbouncer.pid" ]
  3. then
  4. echo "removing pgbouncer pid"
  5. rm /var/run/pgbouncer/pgbouncer.pid
  6. fi
  7. exec "$@" -R -v -u pg /etc/pgbouncer/pgbouncer.ini