+++ /dev/null
-#!/bin/sh
-#
-# init.d script for HELM uri_set_queue.cgi
-#
-# by --Zack <zack@cs.unibo.it>
-# Created: Tue, 8 Oct 2002 17:18:17 +0200
-# Last-Modified: Wed, 20 Nov 2002 10:50:25 +0100
-
-DAEMON=/projects/helm/daemons/graphs/tools/uriSetQueue.opt
-USAGE="Usage: /etc/init.d/helm-uri-set-queue { 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
-