X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fscripts%2Finit.d%2Fhelm-draw-graph_mowgli;h=a8553fb103552e613cedaba21cf72136797cd0d7;hb=6d564c33154c98e83a358e9f929eb4f9d4ee1608;hp=d1a08f9f6b1b0053cc7faf149cb04230b7d182d1;hpb=d63f384d57565bce1efbcf50b1c0b50f76397c85;p=helm.git diff --git a/helm/scripts/init.d/helm-draw-graph_mowgli b/helm/scripts/init.d/helm-draw-graph_mowgli index d1a08f9f6..a8553fb10 100755 --- a/helm/scripts/init.d/helm-draw-graph_mowgli +++ b/helm/scripts/init.d/helm-draw-graph_mowgli @@ -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_mowgli { 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=/projects/helm/run/$NAME.pid +PIDFILE=/var/run/"$NAME"_mowgli.pid do_start () { echo "Starting $DAEMON ..."