Fixed pid file conflict between daemon.sh and init.sh