Added pid file output to run server, setup for stop server