From: Lennart Poettering Date: Mon, 28 Jun 2010 23:36:58 +0000 (+0200) Subject: fedora: init LSB header to init scripts X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=17cb9485bbf194aadf94642eafe261303fe8a867;p=catta fedora: init LSB header to init scripts --- diff --git a/initscript/fedora/avahi-daemon.in b/initscript/fedora/avahi-daemon.in index b1b6124..1367d2b 100644 --- a/initscript/fedora/avahi-daemon.in +++ b/initscript/fedora/avahi-daemon.in @@ -1,15 +1,31 @@ #!/bin/sh # -# avahi-daemon: Starts the Avahi Daemon +# avahi-daemon: Starts the Avahi mDNS/DNS-SD Stack # # chkconfig: 345 24 02 -# description: This is a daemon which runs on client machines to perform \ -# Zeroconf service discovery on a network. avahi-daemon must be \ -# running on systems that use Avahi for service discovery. \ -# Avahi-daemon should not be running otherwise. +# description: This is a daemon which runs on client machines to \ +# perform Zeroconf service discovery on a \ +# network. avahi-daemon must be running on systems that \ +# use Avahi for service discovery. Avahi-daemon should \ +# not be running otherwise. # processname: avahi-daemon # pidfile: @localstatedir@/run/avahi-daemon/pid +### BEGIN INIT INFO +# Required-Start: messagebus +# Required-Stopt: messagebus +# Should-Start: $syslog $network $local_fs +# Should-Stop: $syslog $local_fs +# Default-Start: 3 4 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Starts the Avahi Daemon +# Description: This is a daemon which runs on client machines to +# perform Zeroconf service discovery on a +# network. avahi-daemon must be running on systems +# that use Avahi for service discovery. +# Avahi-daemon should not be running otherwise. +### END INIT INFO + AVAHI_BIN=@sbindir@/avahi-daemon AVAHI_OPTS="-D" diff --git a/initscript/fedora/avahi-dnsconfd.in b/initscript/fedora/avahi-dnsconfd.in index df8b964..bd4182e 100644 --- a/initscript/fedora/avahi-dnsconfd.in +++ b/initscript/fedora/avahi-dnsconfd.in @@ -1,15 +1,31 @@ #!/bin/sh # -# avahi-dnsconfd: Starts the Avahi dns configuration daemon +# avahi-dnsconfd: Starts the Avahi DNS Configuration Daemon # # chkconfig: - 96 02 -# description: avahi-dnsconfd connects to a running avahi-daemon and runs the script \ -# /etc/avahi/dnsconf.action for each unicast DNS server that is announced \ -# on the local LAN. This is useful for configuring unicast DNS servers in \ -# a DHCP-like fashion with mDNS. +# description: avahi-dnsconfd connects to a running avahi-daemon and \ +# runs the script /etc/avahi/dnsconf.action for each \ +# unicast DNS server that is announced on the local \ +# LAN. This is useful for configuring unicast DNS servers \ +# in a DHCP-like fashion with mDNS. # processname: avahi-dnsconfd # pidfile: @localstatedir@/run/avahi-dnsconfd.pid +### BEGIN INIT INFO +# Required-Start: avahi-daemon +# Required-Stop: avahi-daemon +# Should-Start: $syslog $network $local_fs +# Should-Stop: $syslog $local_fs +# Default-Start: 3 4 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Starts the Avahi DNS Configuration Daemon +# Description: avahi-dnsconfd connects to a running avahi-daemon +# and runs the script /etc/avahi/dnsconf.action for +# each unicast DNS server that is announced on the +# local LAN. This is useful for configuring unicast +# DNS servers in a DHCP-like fashion with mDNS. +### END INIT INFO + AVAHI_BIN=@sbindir@/avahi-dnsconfd AVAHI_OPTS="-D"