X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fscripts%2Finit.d%2Fhelm-draw-graph;h=70859c08d69522f72aea0a5688a3213d49825efe;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=34490799e080c91fd66c00722ae0d4edd683510c;hpb=1777211e04075fd37bcee56b79cfbedcb89d57eb;p=helm.git diff --git a/helm/scripts/init.d/helm-draw-graph b/helm/scripts/init.d/helm-draw-graph index 34490799e..70859c08d 100755 --- a/helm/scripts/init.d/helm-draw-graph +++ b/helm/scripts/init.d/helm-draw-graph @@ -6,22 +6,15 @@ # Created: Wed, 9 Oct 2002 11:12:01 +0200 # Last-Modified: Wed, 9 Oct 2002 11:12:01 +0200 -#DAEMON=/projects/helm/graphs/tools/draw_graph.cgi -DAEMON=/projects/helm/graphs/tools/drawGraph.opt +DAEMON=/projects/helm/daemons/graphs/tools/drawGraph.opt USAGE="Usage: /etc/init.d/helm-draw-graph { 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 ..."