]>
Commit | Line | Data |
---|---|---|
438dba17 JK |
1 | description "Starts the Avahi daemon" |
2 | ||
85b5a8ae | 3 | start on pld.network-started and started SERVICE_syslog=y and started messagebus |
438dba17 JK |
4 | stop on pld.shutdown-started |
5 | ||
6 | respawn | |
7 | ||
8 | console output | |
9 | ||
10 | pre-start script | |
11 | modprobe capability || : | |
12 | end script | |
13 | ||
14 | exec /usr/sbin/avahi-daemon --syslog | |
15 | ||
197d8676 ER |
16 | # somewhy avahi does not remove pid itself which causes it to report on startup: |
17 | # + exec /usr/sbin/avahi-daemon --syslog | |
18 | # Process 3383 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid) | |
19 | post-stop script | |
20 | rm -f /var/run/avahi-daemon/pid | |
21 | end script |