services: nscd: Wait for the PID file.

* gnu/services/base.scm (nscd-shepherd-service): Pass #:pid-file.
This commit is contained in:
Ludovic Courtès 2016-06-27 20:57:35 +02:00
parent b6683f1507
commit 04101d99ee
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -790,6 +790,11 @@ (define (nscd-shepherd-service config)
"/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