pid file support