Fix deployment after restart.

 - fix issue with pid file permission after restart.
 - remove deprecated deploy instructions.