shishi-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS shishi/debian


From: shishi-commit
Subject: CVS shishi/debian
Date: Wed, 21 Dec 2005 13:00:18 +0100

Update of /home/cvs/shishi/debian
In directory dopio:/tmp/cvs-serv2703

Added Files:
        shishi-kdc.init.d 
Removed Files:
        init.d 
Log Message:
Move.


--- /home/cvs/shishi/debian/shishi-kdc.init.d   2005/12/21 12:00:18     NONE
+++ /home/cvs/shishi/debian/shishi-kdc.init.d   2005/12/21 12:00:18     1.1
#! /bin/sh

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/shishi
NAME=shishid
DESC="shishi server daemon"

test -x $DAEMON || exit 0

# Include shishi defaults if available
if [ -f /etc/default/shishid ] ; then
        . /etc/default/shishid
fi

set -e

case "$1" in
  start)
        echo -n "Starting $DESC: "
        start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
                --exec $DAEMON -- $DAEMON_OPTS
        echo "$NAME."
        ;;
  stop)
        echo -n "Stopping $DESC: "
        start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
                --exec $DAEMON
        echo "$NAME."
        ;;
  restart|force-reload)
        #
        #       If the "reload" option is implemented, move the "force-reload"
        #       option to the "reload" entry above. If not, "force-reload" is
        #       just the same as "restart".
        #
        echo -n "Restarting $DESC: "
        start-stop-daemon --stop --quiet --pidfile \
                /var/run/$NAME.pid --exec $DAEMON
        sleep 1
        start-stop-daemon --start --quiet --pidfile \
                /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
        echo "$NAME."
        ;;
  *)
        N=/etc/init.d/$NAME
        # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
        exit 1
        ;;
esac

exit 0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]