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'.master
parent
e45306c198
commit
9385c82c54
|
@ -1428,7 +1428,11 @@ the tty to run, among other things."
|
||||||
(list (shepherd-service
|
(list (shepherd-service
|
||||||
(documentation "Run libc's name service cache daemon (nscd).")
|
(documentation "Run libc's name service cache daemon (nscd).")
|
||||||
(provision '(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
|
(start #~(make-forkexec-constructor
|
||||||
(list #$nscd "-f" #$nscd.conf "--foreground")
|
(list #$nscd "-f" #$nscd.conf "--foreground")
|
||||||
|
|
||||||
|
|
Reference in New Issue