guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/08: services: nscd: Wait for the PID file.


From: Ludovic Courtès
Subject: 02/08: services: nscd: Wait 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 04101d99eeaad0867ed886e52049af1b6a5ec487
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jun 27 20:57:35 2016 +0200

    services: nscd: Wait for the PID file.
    
    * gnu/services/base.scm (nscd-shepherd-service): Pass #:pid-file.
---
 gnu/services/base.scm |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 2780d12..274ff10 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -790,6 +790,11 @@ the tty to run, among other things."
                                           "/sbin/nscd")
                            "-f" #$nscd.conf "--foreground")
 
+                     ;; Wait for the PID file.  However, the PID file is
+                     ;; written before nscd is actually listening on its
+                     ;; socket (XXX).
+                     #:pid-file "/var/run/nscd/nscd.pid"
+
                      #:environment-variables
                      (list (string-append "LD_LIBRARY_PATH="
                                           (string-join



reply via email to

[Prev in Thread] Current Thread [Next in Thread]