]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/scripts/init.d/helm-proof-checker
ocaml 3.09 transition
[helm.git] / helm / scripts / init.d / helm-proof-checker
index e96d10c4a87ef75d79b05bd9da1ff78bc8a34dc3..9ea0eaffc77accca5f200b865175b1184ed336ee 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/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 ]; then
   . /etc/default/helm
 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.pid
 
 do_start () {
   echo "Starting $DAEMON ..."