]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/scripts/init.d/helm-search-engine_mowgli
removed tedious "_mowgli" postfix
[helm.git] / helm / scripts / init.d / helm-search-engine_mowgli
diff --git a/helm/scripts/init.d/helm-search-engine_mowgli b/helm/scripts/init.d/helm-search-engine_mowgli
deleted file mode 100755 (executable)
index 45ea7f8..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-#
-# init.d script for HELM searchEngine
-#
-# by --Zack <zack@cs.unibo.it>
-# Created: Fri, 22 Nov 2002 15:51:25 +0100
-# Last-Modified: Thu,  6 Mar 2003 17:40:16 +0100
-
-DAEMON="/projects/helm/daemons/searchEngine/searchEngine.opt"
-USAGE="Usage: /etc/init.d/helm-search-engine_mowgli { start | stop | restart }"
-
-if [ -f /etc/default/helm_mowgli ]; then
-  . /etc/default/helm_mowgli
-fi
-
-NAME=`basename $DAEMON`
-PIDFILE=/var/run/"$NAME"_mowgli.pid
-
-do_start () {
-  echo -n "Starting $DAEMON ... "
-  start-stop-daemon \
-    --start --pidfile $PIDFILE --make-pidfile \
-    --chuid $OWNER --background --exec $DAEMON
-  echo "done!"
-}
-
-do_stop () {
-  echo -n "Stopping $DAEMON ... "
-  start-stop-daemon --stop --pidfile $PIDFILE && \
-  (if [ -f $PIDFILE ]; then rm -f $PIDFILE; else true; fi)
-  echo "done!"
-}
-
-case "$1" in
-
-  start)
-    do_start
-    ;;
-
-  stop)
-    do_stop
-    ;;
-
-  restart)
-    do_stop
-    do_start
-    ;;
-
-  *)
-    echo "$USAGE" >&2
-    exit 1
-    ;;
-
-esac
-