1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 09:50:29 +00:00

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

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