add support to specify pid file