]> git.pld-linux.org Git - packages/avahi.git/commitdiff
- remove pid on stop; it does not do that itself and on next startup thinks it has...
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 22 Jan 2012 21:23:08 +0000 (21:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    avahi-daemon.upstart -> 1.3

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.024082 seconds and 4 git commands to generate.