projects
/
ngircd-alex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48698f1
)
ngircd.init: Make sure no stale PID file is left over
author
Alexander Barton
<alex@barton.de>
Sat, 26 Oct 2013 19:34:56 +0000
(21:34 +0200)
committer
Alexander Barton
<alex@barton.de>
Sat, 26 Oct 2013 19:34:56 +0000
(21:34 +0200)
contrib/Debian/ngircd.init
patch
|
blob
|
history
diff --git
a/contrib/Debian/ngircd.init
b/contrib/Debian/ngircd.init
index 8639e2295b9203550557341eb0601210865fe0c9..5c8c46cab82341f20f3d02a20449299db98911f5 100755
(executable)
--- 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