projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2a55d6
)
Make /etc/init.d/unbound stop wait for it to exit
author
Julien Cristau
<jcristau@debian.org>
Sun, 17 May 2015 14:47:03 +0000
(16:47 +0200)
committer
Julien Cristau
<jcristau@debian.org>
Sun, 17 May 2015 14:50:09 +0000
(16:50 +0200)
Will hopefully make restart more reliable under systemd.
Signed-off-by: Julien Cristau <jcristau@debian.org>
modules/unbound/files/unbound.init
patch
|
blob
|
history
diff --git
a/modules/unbound/files/unbound.init
b/modules/unbound/files/unbound.init
index
78f9c2f
..
e8e3dec
100755
(executable)
--- a/
modules/unbound/files/unbound.init
+++ b/
modules/unbound/files/unbound.init
@@
-121,7
+121,7
@@
case "$1" in
stop)
if $UNBOUND_ENABLE; then
log_daemon_msg "Stopping $DESC" "$NAME"
- if start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --name $NAME; then
+ if start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --name $NAME
--retry 5
; then
do_resolvconf_stop
log_end_msg 0
else