Module: ngircd.git Branch: master Commit: 0556aa19011bb16e58bf436fc0199e18c4f3ec21 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=0556a...
Author: Alexander Barton alex@barton.de Date: Sat Oct 26 21:34:56 2013 +0200
ngircd.init: Make sure no stale PID file is left over
---
contrib/Debian/ngircd.init | 1 + 1 file changed, 1 insertion(+)
diff --git a/contrib/Debian/ngircd.init b/contrib/Debian/ngircd.init index 8639e22..5c8c46c 100755 --- a/contrib/Debian/ngircd.init +++ b/contrib/Debian/ngircd.init @@ -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