add rm pid file command