]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/hbugs/broker/hbugs_broker_ctl.sh
send SIGKILL to stop web services
[helm.git] / helm / hbugs / broker / hbugs_broker_ctl.sh
index 8730a1cb514353d7c03aedc9b7614737dba32e89..57ee007d5a81e103c10fb8b54cc87fee7b50917c 100755 (executable)
@@ -5,12 +5,11 @@ if [ "$1" = "--help" -o "$1" = "" ]; then
    exit 0
 fi
 if [ "$1" = "start" ]; then
-   . ../../script.sh
    echo -n "Starting HBugs broker ... "
    ./$daemon &> run/$daemon.LOG &
    echo "done!"
 elif [ "$1" = "stop" ]; then
    echo -n "Stopping HBugs broker ... "
-   killall $daemon
+   killall -9 $daemon
    echo "done!"
 fi