]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/scripts/init.d/helm-proof-checker_mowgli
use new daemon_respawner.sh
[helm.git] / helm / scripts / init.d / helm-proof-checker_mowgli
index 97874eb1e144371c121709052100e51277b5e99b..8d28c9bf51c942af82fe90267fae60f5cc52e64e 100755 (executable)
@@ -4,23 +4,17 @@
 #
 # by --Zack <zack@cs.unibo.it>
 # Created: Wed,  9 Oct 2002 11:12:01 +0200
-# Last-Modified: Wed,  9 Oct 2002 11:12:01 +0200
+# Last-Modified: Wed, 13 Nov 2002 18:30:39 +0100
 
-DAEMON=/projects/helm/proofChecker_mowgli/proofChecker.pl
+DAEMON=/projects/helm/daemons/proofChecker/proofChecker.opt
 USAGE="Usage: /etc/init.d/helm-proof-checker { start | stop | restart }"
 
-ENVSCRIPT=""
 if [ -f /etc/default/helm_mowgli ]; then
   . /etc/default/helm_mowgli
 fi
-if ! [ -f "$ENVSCRIPT" ]; then
-  echo "Can't find environment script '$ENVSCRIPT'"
-  exit 1
-fi
-. $ENVSCRIPT &> /dev/null
 
 NAME=`basename $DAEMON`
-PIDFILE=/projects/helm/run/$NAME.pid
+PIDFILE=/var/run/"$NAME"_mowgli.pid
 
 do_start () {
   echo "Starting $DAEMON ..."