Add process to create pid file to record pid.
And remove --make-pid option on script for Debian.
Forget adding newline character.