add pid file for upstart scripts