PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/init/avahi-daemon.conf

http://github.com/brinkman83/bashrc
Config | 25 lines | 20 code | 5 blank | 0 comment | 0 complexity | 9991e61a61804bcf346ea8467961c891 MD5 | raw file
 1# avahi-daemon - mDNS/DNS-SD daemon
 2#
 3# The Avahi daemon provides mDNS/DNS-SD discovery support (Bonjour/Zeroconf)
 4# allowing applications to discover services on the network.
 5
 6description	"mDNS/DNS-SD daemon"
 7
 8start on (filesystem
 9	  and started dbus)
10stop on stopping dbus
11
12expect daemon
13respawn
14
15pre-start script
16    [ -d /sys/module/apparmor ]  || exit 0
17    [ -x /sbin/apparmor_parser ] || exit 0
18    /sbin/apparmor_parser -r -W /etc/apparmor.d/usr.sbin.avahi-daemon || true
19end script
20
21script
22	opts="-D"
23	[ -e "/etc/eucalyptus/avahi-daemon.conf" ] && opts="${opts} -f /etc/eucalyptus/avahi-daemon.conf"
24	exec avahi-daemon ${opts}
25end script