projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c62f8bd
)
make-pidfile
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 9 Dec 2016 19:18:38 +0000
(20:18 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 9 Dec 2016 19:18:38 +0000
(20:18 +0100)
init.d/gnt-monitor
patch
|
blob
|
history
diff --git
a/init.d/gnt-monitor
b/init.d/gnt-monitor
index
707f1d1
..
baddadc
100755
(executable)
--- a/
init.d/gnt-monitor
+++ b/
init.d/gnt-monitor
@@
-56,7
+56,7
@@
do_start()
# 2 if daemon could not be started
#start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
# || return 1
- start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --background -- \
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --background --
make-pidfile --
\
$DAEMON_ARGS \
|| return 2
# Add code here, if necessary, that waits for the process to be ready