# 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 ..."