From e9b634358fec25ebdeeee0461705469d01c82c77 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 26 Jan 2010 14:23:17 +0100 Subject: [PATCH] Dont be so agressive when stopping pazpar2 Do not resort to killing all pazpar2 processes by PIDs when it terminates happily with a signal sent to the PID. This change will allow us to run multiple Pazpar2 servers using the same binary. --- debian/pazpar2.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/pazpar2.init b/debian/pazpar2.init index bd51473..73f0b05 100644 --- a/debian/pazpar2.init +++ b/debian/pazpar2.init @@ -71,8 +71,8 @@ do_stop() # that waits for the process to drop all resources that could be # needed by services started subsequently. A last resort is to # sleep for some time. - start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON - [ "$?" = 2 ] && return 2 + #start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON + #[ "$?" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. rm -f $PIDFILE return "$RETVAL" -- 1.7.10.4