ngircd.init: Make sure no stale PID file is left over

This commit is contained in:
Alexander Barton 2013-10-26 21:34:56 +02:00
parent 48698f14a2
commit 0556aa1901
1 changed files with 1 additions and 0 deletions

View File

@ -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