1 PATH=/sbin:/bin:/usr/sbin:/usr/bin
2 DAEMON=/usr/sbin/chilli
6 test -f $DAEMON || exit 0
12 echo -n "Starting $DESC: "
13 start-stop-daemon -S -p /var/run/$NAME.pid -x $DAEMON
17 echo -n "Stopping $DESC: "
18 start-stop-daemon -K -p /var/run/$NAME.pid -x $DAEMON
22 echo -n "Restarting $DESC: "
23 start-stop-daemon -K -p /var/run/$NAME.pid -x $DAEMON
25 start-stop-daemon -S -p /var/run/$NAME.pid -x $DAEMON
30 echo "Usage: $N {start|stop|restart|force-reload}" >&2