]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/scripts/init.d/helm-uri-set-queue
ocaml 3.09 transition
[helm.git] / helm / scripts / init.d / helm-uri-set-queue
index 242545a7b25c97f695ccc3a91fb39df62204194e..415abdee69296e2ea1ef415fc535788b567c8fb0 100755 (executable)
@@ -4,24 +4,17 @@
 #
 # by --Zack <zack@cs.unibo.it>
 # Created: Tue,  8 Oct 2002 17:18:17 +0200
-# Last-Modified: Wed, 20 Nov 2002 10:50:14 +0100
+# Last-Modified: Wed, 20 Nov 2002 10:50:25 +0100
 
-#DAEMON=/projects/helm/graphs/tools/uri_set_queue.cgi
-DAEMON=/projects/helm/graphs/tools/uriSetQueue.opt
+DAEMON=/projects/helm/daemons/graphs/tools/uriSetQueue.opt
 USAGE="Usage: /etc/init.d/helm-uri-set-queue { 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 ..."