]> git.pld-linux.org Git - packages/avahi.git/blobdiff - avahi-daemon.upstart
- remove pid on stop; it does not do that itself and on next startup thinks it has...
[packages/avahi.git] / avahi-daemon.upstart
index 5ecc34fb870ce44dfc022901b800532686dcc040..99b0096f86ce452d89c46dc1a77a9e304436bf3a 100644 (file)
@@ -13,4 +13,9 @@ end script
 
 exec /usr/sbin/avahi-daemon --syslog
 
-# vi: ft=upstart
+# somewhy avahi does not remove pid itself which causes it to report on startup:
+# + exec /usr/sbin/avahi-daemon --syslog
+# Process 3383 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid)
+post-stop script
+       rm -f /var/run/avahi-daemon/pid
+end script
This page took 0.083565 seconds and 4 git commands to generate.