From a0b3aaf19ec133f5ddb85e09e1d5abde69cf96c5 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Thu, 23 Jun 2011 10:19:50 -0400 Subject: [PATCH] Really stop the z39.50 daemon when a client is connected. Send a SIGTERM instead of SIGINT from do_action when the action is stop in oils_ctl.sh. Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander --- Open-ILS/examples/oils_ctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/examples/oils_ctl.sh b/Open-ILS/examples/oils_ctl.sh index d47ba6f3cd..5363db7f26 100755 --- a/Open-ILS/examples/oils_ctl.sh +++ b/Open-ILS/examples/oils_ctl.sh @@ -83,7 +83,7 @@ function do_action { pid=$(cat $pidfile); echo "Stopping $item : $pid"; - kill -s INT $pid; + kill -s TERM $pid; rm -f $pidfile; fi; -- 2.11.0