services: %base-services: Adapt agetty-service-type to depend on syslogd

Fixes <https://issues.guix.gnu.org/30464>.

* gnu/services/base.scm (%base-services): Reorder syslog-service for clarity.
[shepherd-requirement]: New field.
This commit is contained in:
Danny Milosavljevic 2022-02-25 17:13:35 +01:00
parent ed17082d94
commit fcb6cab621
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -2785,10 +2785,12 @@ (define %base-services
(cons tty %default-console-font))
'("tty1" "tty2" "tty3" "tty4" "tty5" "tty6")))
(syslog-service)
(service agetty-service-type (agetty-configuration
(extra-options '("-L")) ; no carrier detect
(term "vt100")
(tty #f))) ; automatic
(tty #f) ; automatic
(shepherd-requirement '(syslogd))))
(service mingetty-service-type (mingetty-configuration
(tty "tty1")))
@ -2805,7 +2807,6 @@ (define %base-services
(service static-networking-service-type
(list %loopback-static-networking))
(syslog-service)
(service urandom-seed-service-type)
(service guix-service-type)
(service nscd-service-type)