Init script: Check whether the PID file exists

fixes #7047