diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-02-18 22:13:41 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-02-19 00:33:34 +0100 |
commit | ad7a807d84827f504d492cc1e2ac84f287fd29f6 (patch) | |
tree | 3ff01707b4a1481f65e0a3552885d19a6459638e /gnu/services/avahi.scm | |
parent | 418cbf6e221122999377ac6557a295bc0db8d14a (diff) | |
download | guix-ad7a807d84827f504d492cc1e2ac84f287fd29f6.tar guix-ad7a807d84827f504d492cc1e2ac84f287fd29f6.tar.gz |
services: avahi: Read PID file from /run.
* gnu/services/avahi.scm (%avahi-activation, avahi-shepherd-service):
Use /run/avahi-daemon/ instead of /var/run/avahi-daemon/. This was the
case since the switch to Avahi 0.7 (commit
550f4509acf2c0f67882260414b0bb2843e07465).
Diffstat (limited to 'gnu/services/avahi.scm')
-rw-r--r-- | gnu/services/avahi.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/services/avahi.scm b/gnu/services/avahi.scm index a5305130af..bb81d26aed 100644 --- a/gnu/services/avahi.scm +++ b/gnu/services/avahi.scm @@ -94,7 +94,7 @@ ;; Activation gexp. #~(begin (use-modules (guix build utils)) - (mkdir-p "/var/run/avahi-daemon"))) + (mkdir-p "/run/avahi-daemon"))) (define (avahi-shepherd-service config) "Return a list of <shepherd-service> for CONFIG." @@ -111,7 +111,7 @@ "--daemonize" #$@(if debug? #~("--debug") #~()) "-f" #$config) - #:pid-file "/var/run/avahi-daemon/pid")) + #:pid-file "/run/avahi-daemon/pid")) (stop #~(make-kill-destructor)))))) (define avahi-service-type |