Really stop the z39.50 daemon when a client is connected.
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 23 Jun 2011 14:19:50 +0000 (10:19 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 23 Aug 2011 18:54:51 +0000 (14:54 -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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
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;