summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-06-27 20:57:35 +0200
committerLudovic Courtès <ludo@gnu.org>2016-06-27 21:41:38 +0200
commit04101d99eeaad0867ed886e52049af1b6a5ec487 (patch)
treefa79988955b0685709711da0281a36a78ea91dbe /gnu
parentb6683f15073d89e4d0cbde2b4f0f00e17777a917 (diff)
downloadguix-04101d99eeaad0867ed886e52049af1b6a5ec487.tar.gz
services: nscd: Wait for the PID file.
* gnu/services/base.scm (nscd-shepherd-service): Pass #:pid-file.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/base.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 2780d124c7..274ff100e8 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