1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

services: nscd: Depend on syslogd.

This gets rid of nscd debug messages on the console at boot time.

* gnu/services/base.scm (nscd-shepherd-service): Add dependency on
'syslogd'.
This commit is contained in:
Ludovic Courtès
2023-04-20 21:10:51 +02:00
parent e45306c198
commit 9385c82c54

View File

@@ -1428,7 +1428,11 @@ the tty to run, among other things."
(list (shepherd-service
(documentation "Run libc's name service cache daemon (nscd).")
(provision '(nscd))
(requirement '(user-processes))
;; Logs are written with syslog(3), which writes to /dev/console
;; when nobody's listening--ugly. Thus, wait for syslogd.
(requirement '(user-processes syslogd))
(start #~(make-forkexec-constructor
(list #$nscd "-f" #$nscd.conf "--foreground")