ngircd.init: Make sure no stale PID file is left over
[ngircd-alex.git] / contrib / Debian / ngircd.init
index 8639e22..5c8c46c 100755 (executable)
@@ -84,6 +84,7 @@ Do_Start() {
                log_warning_msg "$NAME seems to be already running, nothing to do."
                exit 0
        fi
+       rm -f "$PIDFILE"
        start-stop-daemon --start \
                --quiet --exec $DAEMON -- $PARAMS
        sleep $STARTTIME