X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fscripts%2Finit.d%2Fhelm-draw-graph;fp=helm%2Fscripts%2Finit.d%2Fhelm-draw-graph;h=0000000000000000000000000000000000000000;hb=1696761e4b8576e8ed81caa905fd108717019226;hp=70859c08d69522f72aea0a5688a3213d49825efe;hpb=5325734bc2e4927ed7ec146e35a6f0f2b49f50c1;p=helm.git diff --git a/helm/scripts/init.d/helm-draw-graph b/helm/scripts/init.d/helm-draw-graph deleted file mode 100755 index 70859c08d..000000000 --- a/helm/scripts/init.d/helm-draw-graph +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh -# -# init.d script for HELM draw_graph.cgi -# -# by --Zack -# Created: Wed, 9 Oct 2002 11:12:01 +0200 -# Last-Modified: Wed, 9 Oct 2002 11:12:01 +0200 - -DAEMON=/projects/helm/daemons/graphs/tools/drawGraph.opt -USAGE="Usage: /etc/init.d/helm-draw-graph { start | stop | restart }" - -if [ -f /etc/default/helm ]; then - . /etc/default/helm -fi - -NAME=`basename $DAEMON` -PIDFILE=/var/run/"$NAME".pid - -do_start () { - echo "Starting $DAEMON ..." - start-stop-daemon \ - --start --background --pidfile $PIDFILE --make-pidfile \ - --chuid $OWNER --exec $DAEMON -} - -do_stop () { - echo "Stopping $DAEMON ..." - start-stop-daemon --stop --pidfile $PIDFILE && \ - (if [ -f $PIDFILE ]; then rm -f $PIDFILE; else true; fi) -} - -case "$1" in - - start) - do_start - ;; - - stop) - do_stop - ;; - - restart) - do_stop - do_start - ;; - - *) - echo "$USAGE" >&2 - exit 1 - ;; - -esac -