]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/scripts/init.d/helm-uwobo_mowgli
* added embedding test (HTML)
[helm.git] / helm / scripts / init.d / helm-uwobo_mowgli
index b3ac8431ae7ea2552b5c11417f7c0e6dc36d7e9b..f21805ab97b335933a1e59c3a2ea018e3bfe5226 100755 (executable)
@@ -6,19 +6,13 @@
 # Created: Wed, 15 Jan 2003 15:14:07 +0100
 # Last-Modified: Tue,  8 Apr 2003 09:43:08 +0200 zacchiro
 
-DAEMON="/projects/helm/daemons/uwobo/uwobo"
+DAEMON="/projects/helm/daemons/uwobo/uwobo.opt"
 USAGE="Usage: /etc/init.d/helm-uwobo_mowgli { start | stop | restart }"
 UWOBO_FOREVER="/etc/init.d/uwobo_forever.sh"
 
-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`
 # Warning: $PIDFILE value is shared by UWOBO respawner, change at your own risk