services: nscd: Make sure /var/db/nscd exists.

* gnu/services/base.scm (nscd-service)[activate]: Make /var/db/nscd.
This commit is contained in:
Ludovic Courtès 2015-02-25 18:02:13 +01:00
parent 9d620590b9
commit faf0f39bd3

View File

@ -506,7 +506,8 @@ given @var{config}---an @code{<nscd-configuration>} object. Optionally,
(activate #~(begin
(use-modules (guix build utils))
(mkdir-p "/var/run/nscd")))
(mkdir-p "/var/run/nscd")
(mkdir-p "/var/db/nscd"))) ;for the persistent cache
(start #~(make-forkexec-constructor
(list (string-append #$glibc "/sbin/nscd")