pidfile and cleanup mgmt for startup/shutdown scripts