]>
Commit | Line | Data |
---|---|---|
438dba17 JK |
1 | description "Starts the Avahi DNS conf daemon" |
2 | ||
3 | start on started avahi-daemon | |
4 | stop on pld.shutdown-started | |
5 | ||
6 | respawn | |
7 | ||
8 | console output | |
9 | ||
10 | pre-start script | |
11 | if [ ! -f /etc/avahi/dnsconfd.action ] ; then | |
12 | logger -t 'init/avahi-dnsconfd' "Not configured - not starting" | |
d61243a1 | 13 | /sbin/initctl -q stop |
438dba17 JK |
14 | fi |
15 | end script | |
16 | ||
17 | exec /usr/sbin/avahi-dnsconfd | |
18 | ||
19 | # vi: ft=upstart |