]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/hbugs/tutors/sabba.sh
- removed some unneeded dependencies from debian/control
[helm.git] / helm / hbugs / tutors / sabba.sh
index 239cd99092673ebba943726a334f69d6c0077db3..55188b8c404ce170a8794bf9cb72f4e5b9dfe405 100755 (executable)
@@ -28,17 +28,17 @@ if [ "$1" = "--help" -o "$1" = "" ]; then
    echo "sabba.sh { start | stop | --help }"
    exit 0
 fi
-. ../../script.sh
+
 ./ls_tutors.ml |
 while read line; do
    tutor=`echo $line | sed 's/\.ml//'`
    if [ "$1" = "stop" ]; then
       echo -n "Stopping HBugs tutor $tutor ... "
-      killall $tutor
+      killall -9 $tutor
       echo "done!"
    elif [ "$1" = "start" ]; then
       echo -n "Starting HBugs tutor $tutor ... "
-      ./$tutor &> run/$tutor.LOG &
+      nice -n 19 ./$tutor &> run/$tutor.LOG &
       echo "done!"
    else
       echo "Uh? Try --help"