X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fscripts%2Finit.d%2Fhelm-uri-set-queue;fp=helm%2Fscripts%2Finit.d%2Fhelm-uri-set-queue;h=0000000000000000000000000000000000000000;hb=c7514aaa249a96c5fdd39b1123fbdb38d92f20b6;hp=242545a7b25c97f695ccc3a91fb39df62204194e;hpb=1c7fb836e2af4f2f3d18afd0396701f2094265ff;p=helm.git diff --git a/helm/scripts/init.d/helm-uri-set-queue b/helm/scripts/init.d/helm-uri-set-queue deleted file mode 100755 index 242545a7b..000000000 --- a/helm/scripts/init.d/helm-uri-set-queue +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -# -# init.d script for HELM uri_set_queue.cgi -# -# by --Zack -# Created: Tue, 8 Oct 2002 17:18:17 +0200 -# Last-Modified: Wed, 20 Nov 2002 10:50:14 +0100 - -#DAEMON=/projects/helm/graphs/tools/uri_set_queue.cgi -DAEMON=/projects/helm/graphs/tools/uriSetQueue.opt -USAGE="Usage: /etc/init.d/helm-uri-set-queue { 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 - -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 -