From 04101d99eeaad0867ed886e52049af1b6a5ec487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 27 Jun 2016 20:57:35 +0200 Subject: [PATCH] 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 2780d124c7..274ff100e8 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -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