mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 01:40:27 +00:00
ngircd.init: Make sure no stale PID file is left over
This commit is contained in:
parent
48698f14a2
commit
0556aa1901
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user