aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2022-02-25 17:13:35 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2022-02-25 17:13:36 +0100
commitfcb6cab62149fd46d9fe496b91cc019a43774a43 (patch)
treece181d6c191214c0409bb5b0b119ce896571bcf2
parented17082d94bdcdb67713e95d181061d179299aad (diff)
downloadguix-fcb6cab62149fd46d9fe496b91cc019a43774a43.tar
guix-fcb6cab62149fd46d9fe496b91cc019a43774a43.tar.gz
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.
-rw-r--r--gnu/services/base.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 308940ff14..53db6bdca5 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -2785,10 +2785,12 @@ to handle."
(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 @@ to handle."
(service static-networking-service-type
(list %loopback-static-networking))
- (syslog-service)
(service urandom-seed-service-type)
(service guix-service-type)
(service nscd-service-type)