projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ad7cb0
)
remove extra --background in stop which is not needed
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 9 Dec 2016 09:41:39 +0000
(10:41 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 9 Dec 2016 09:41:39 +0000
(10:41 +0100)
init.d/gnt-monitor
patch
|
blob
|
history
diff --git
a/init.d/gnt-monitor
b/init.d/gnt-monitor
index
6a7a827
..
707f1d1
100755
(executable)
--- a/
init.d/gnt-monitor
+++ b/
init.d/gnt-monitor
@@
-74,7
+74,7
@@
do_stop()
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
- start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
--background
+ start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Wait for children to finish too if this is a daemon that forks