]> 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 0c6822653dc9a757b1a8e582b7a13dff7feee91f..8d28c9bf51c942af82fe90267fae60f5cc52e64e 100755 (executable)
@@ -9,15 +9,9 @@
 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=/var/run/"$NAME"_mowgli.pid