~ruther/guix-local

04101d99eeaad0867ed886e52049af1b6a5ec487 — Ludovic Courtès 9 years ago b6683f1
services: nscd: Wait for the PID file.

* gnu/services/base.scm (nscd-shepherd-service): Pass #:pid-file.
1 files changed, 5 insertions(+), 0 deletions(-)

M gnu/services/base.scm
M gnu/services/base.scm => gnu/services/base.scm +5 -0
@@ 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