#!/bin/sh if [ -e "/var/run/pgpool/pgpool.pid" ] then echo "removing pgpool pid" rm /var/run/pgpool/pgpool.pid fi exec "$@" -n -d