projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a14a09b
)
Wait for MP to terminate on SIGUSR1 in Deb init.d
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 4 Jul 2012 12:06:33 +0000
(14:06 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 4 Jul 2012 12:06:33 +0000
(14:06 +0200)
debian/metaproxy.init
patch
|
blob
|
history
diff --git
a/debian/metaproxy.init
b/debian/metaproxy.init
index
3f19eee
..
d5bc7d0
100644
(file)
--- a/
debian/metaproxy.init
+++ b/
debian/metaproxy.init
@@
-89,7
+89,7
@@
do_reload() {
# restarting (for example, when it is sent a SIGHUP),
# then implement that here.
#
- start-stop-daemon --stop --signal USR1 --quiet --pidfile $PIDFILE --name $NAME
+ start-stop-daemon --stop --signal USR1 --quiet --retry=5 --pidfile $PIDFILE --name $NAME
RETVAL="$?"
# Return if daemon could not be stopped
[ "$RETVAL" = 2 ] && return 2