re-add PIDFILE support