mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01: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:
parent
e45306c198
commit
9385c82c54
1 changed files with 5 additions and 1 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue