units: order container and console getty units after getty-pre.target
authorMichal Sekletar <msekleta@redhat.com>
Tue, 5 Sep 2017 12:53:25 +0000 (14:53 +0200)
committerMichal Sekletar <msekleta@redhat.com>
Tue, 5 Sep 2017 12:53:25 +0000 (14:53 +0200)
units/console-getty.service.m4.in
units/container-getty@.service.m4.in

index 4b9165b..e75576a 100644 (file)
@@ -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
 
index 005d9e5..4b822f0 100644 (file)
@@ -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