Really stop the z39.50 daemon when a client is connected. user/jason@mvlc.org/oils_ctl-improvements
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 23 Jun 2011 14:19:50 +0000 (10:19 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 23 Jun 2011 14:19:50 +0000 (10:19 -0400)
Send a SIGTERM instead of SIGINT from do_action when the action is
stop in oils_ctl.sh.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/examples/oils_ctl.sh

index d47ba6f..5363db7 100755 (executable)
@@ -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;