6 # Authors: <sebastien.estienne@gmail.com>
9 . /lib/lsb/init-functions
13 PATH=/sbin:/bin:/usr/sbin:/usr/bin
14 DESC="Avahi ZeroConf daemon"
18 # Gracefully exit if the package has been removed.
19 test -x $DAEMON || exit 0
22 # Function that starts the daemon/service.
29 # Function that stops the daemon/service.
32 $DAEMON -k || /bin/true
36 # Function that reload the config file for the daemon/service.
45 log_begin_msg "Starting $DESC: $NAME"
50 log_begin_msg "Stopping $DESC: $NAME"
55 log_begin_msg "Reloading config file for $DESC: $NAME"
60 log_begin_msg "Restarting $DESC: $NAME"
67 echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|reload}" >&2