[cpp-sp] 08/12: Indent long description and wait for shibd to exit

Scott Cantor cantor.2 at osu.edu
Thu Dec 20 19:41:15 EST 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to annotated tag debian/2.0.dfsg1-4
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=1c0d5f70f485ff9501b99cf8abcf32e5afaa81ac

commit 1c0d5f70f485ff9501b99cf8abcf32e5afaa81ac
Author: Russ Allbery <rra at debian.org>
AuthorDate: Tue Oct 14 20:58:36 2008 -0700

    Indent long description and wait for shibd to exit
    
    Rather than just sending shibd a signal and assuming success, wait for it
    to exit, since it can take some time to stop after a TERM signal.  This
    should fix restart problems where shibd wasn't started because the prior
    version had not exited yet.
---
 configs/shibd-debian.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configs/shibd-debian.in b/configs/shibd-debian.in
index b99c3cd..7ffc1f6 100644
--- a/configs/shibd-debian.in
+++ b/configs/shibd-debian.in
@@ -63,14 +63,13 @@ start)
 stop)
     echo -n "Stopping $DESC: "
     start-stop-daemon --stop --quiet --pidfile $PIDFILE \
-        --exec $DAEMON
+        --retry TERM/30/KILL/5 --exec $DAEMON
     echo "$NAME."
     ;;
 restart|force-reload)
     echo -n "Restarting $DESC: "
     start-stop-daemon --stop --quiet --pidfile $PIDFILE \
-        --exec $DAEMON
-    sleep 1
+        --retry TERM/30/KILL/5 --exec $DAEMON
     start-stop-daemon --background --start --quiet \
         --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS
     echo "$NAME."

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list