From 48b98b7ec52fcbcf8f8d8259566745d509e56b7b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 4 Jul 2012 14:06:33 +0200 Subject: [PATCH] Wait for MP to terminate on SIGUSR1 in Deb init.d --- debian/metaproxy.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/metaproxy.init b/debian/metaproxy.init index 3f19eee..d5bc7d0 100644 --- 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 -- 1.7.10.4