[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: services: avahi: Pass --daemonize and check for the PID file.
From: |
Ludovic Courtès |
Subject: |
06/08: services: avahi: Pass --daemonize and check for the PID file. |
Date: |
Mon, 27 Jun 2016 21:26:39 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 194ccecf778faf28be0bce31c629211feb6f1a0a
Author: Ludovic Courtès <address@hidden>
Date: Mon Jun 27 21:17:05 2016 +0200
services: avahi: Pass --daemonize and check for the PID file.
This makes sure the service's 'start' finishes when avahi-daemon is
ready to process requests.
* gnu/services/avahi.scm (avahi-shepherd-service): Use --daemonize
instead of --syslog and add #:pid-file.
---
gnu/services/avahi.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/services/avahi.scm b/gnu/services/avahi.scm
index 8005b06..7c3bdab 100644
--- a/gnu/services/avahi.scm
+++ b/gnu/services/avahi.scm
@@ -104,7 +104,8 @@
(start #~(make-forkexec-constructor
(list (string-append #$avahi "/sbin/avahi-daemon")
- "--syslog" "-f" #$config)))
+ "--daemonize" "-f" #$config)
+ #:pid-file "/var/run/avahi-daemon/pid"))
(stop #~(make-kill-destructor))))))
(define avahi-service-type
- branch master updated (aea7d1d -> d2fa61b), Ludovic Courtès, 2016/06/27
- 03/08: services: Export more service types., Ludovic Courtès, 2016/06/27
- 04/08: tests: base: Add host name resolution tests., Ludovic Courtès, 2016/06/27
- 01/08: doc: Fix typo for 'static-networking-service'., Ludovic Courtès, 2016/06/27
- 02/08: services: nscd: Wait for the PID file., Ludovic Courtès, 2016/06/27
- 05/08: tests: 'marionette-service-type' nows takes a <marionette-configuration>., Ludovic Courtès, 2016/06/27
- 07/08: services: avahi: Add #:debug? parameter., Ludovic Courtès, 2016/06/27
- 06/08: services: avahi: Pass --daemonize and check for the PID file.,
Ludovic Courtès <=
- 08/08: tests: Add Avahi and NSS-mDNS test., Ludovic Courtès, 2016/06/27