diff --git a/units/console-getty.service.m4.in b/units/console-getty.service.m4.in index 4b9165b70d..e75576adf7 100644 --- a/units/console-getty.service.m4.in +++ b/units/console-getty.service.m4.in @@ -10,7 +10,7 @@ Description=Console Getty Documentation=man:agetty(8) man:systemd-getty-generator(8) After=systemd-user-sessions.service plymouth-quit-wait.service m4_ifdef(`HAVE_SYSV_COMPAT', -After=rc-local.service +After=rc-local.service getty-pre.target )m4_dnl Before=getty.target diff --git a/units/container-getty@.service.m4.in b/units/container-getty@.service.m4.in index 005d9e5c24..4b822f0e3b 100644 --- a/units/container-getty@.service.m4.in +++ b/units/container-getty@.service.m4.in @@ -11,7 +11,7 @@ Documentation=man:agetty(8) man:systemd-getty-generator(8) Documentation=man:machinectl(1) After=systemd-user-sessions.service plymouth-quit-wait.service m4_ifdef(`HAVE_SYSV_COMPAT', -After=rc-local.service +After=rc-local.service getty-pre.target )m4_dnl Before=getty.target IgnoreOnIsolate=yes