summaryrefslogtreecommitdiffstats
path: root/units/console-getty.service.in
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-05-19 15:05:30 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-05-19 15:22:45 +0200
commitce0fe01f22ea7907aef94329f0f641849fe020b3 (patch)
tree3b19eed8f82675380e7831b5c621312f6d491a03 /units/console-getty.service.in
parentvconsole-setup: reduce variable scope, shorten things (diff)
downloadsystemd-ce0fe01f22ea7907aef94329f0f641849fe020b3.tar.xz
systemd-ce0fe01f22ea7907aef94329f0f641849fe020b3.zip
units: order getty units after getty-pre.target unconditionally
Those two units had this ordering conditionalized on HAVE_SYSV_COMPAT. This seems strange. 45e27532971ac84e835a2879df510a581f933fcd added the ordering differently for those two files without any comment, and I think it was just pasted or scripted erroneously.
Diffstat (limited to 'units/console-getty.service.in')
-rw-r--r--units/console-getty.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/console-getty.service.in b/units/console-getty.service.in
index 606b7dbe16..d7e90ed847 100644
--- a/units/console-getty.service.in
+++ b/units/console-getty.service.in
@@ -10,9 +10,9 @@
[Unit]
Description=Console Getty
Documentation=man:agetty(8) man:systemd-getty-generator(8)
-After=systemd-user-sessions.service plymouth-quit-wait.service
+After=systemd-user-sessions.service plymouth-quit-wait.service getty-pre.target
{% if HAVE_SYSV_COMPAT %}
-After=rc-local.service getty-pre.target
+After=rc-local.service
{% endif %}
Before=getty.target