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=cdb5c05389cf286cdf6c72d872fe4cdc91fd2751;hpb=ab934e873165bf0e661c9e59fddf81714bcb32ff;p=helm.git diff --git a/helm/scripts/init.d/helm-draw-graph b/helm/scripts/init.d/helm-draw-graph index cdb5c0538..70859c08d 100755 --- a/helm/scripts/init.d/helm-draw-graph +++ b/helm/scripts/init.d/helm-draw-graph @@ -6,21 +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/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 ..."