From: Jason Stephenson Date: Thu, 23 Jun 2011 14:19:50 +0000 (-0400) Subject: Really stop the z39.50 daemon when a client is connected. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a0b3aaf19ec133f5ddb85e09e1d5abde69cf96c5;p=contrib%2FConifer.git 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 --- 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;