chiark / gitweb /
units: add conflicts between prefdm and getty@tty1 to avoid race for tty1
[elogind.git] / units / getty@.service.m4
index f1f7f326304b9e12777755f49883665643688cd5..d0084233a9ab66bbb74a55ff65d15329229d5f11 100644 (file)
@@ -16,6 +16,7 @@ Description=Getty on %I
 Before=getty.target
 m4_ifdef(`TARGET_FEDORA',
 After=rc-local.service
+Before=prefdm.service
 )m4_dnl
 m4_ifdef(`TARGET_ARCH',
 After=rc-local.service
@@ -29,9 +30,4 @@ RestartSec=0
 KillMode=process-group
 
 [Install]
-Alias=getty.target.wants/getty@tty1.service
-Alias=getty.target.wants/getty@tty2.service
-Alias=getty.target.wants/getty@tty3.service
-Alias=getty.target.wants/getty@tty4.service
-Alias=getty.target.wants/getty@tty5.service
-Alias=getty.target.wants/getty@tty6.service
+Alias=getty.target.wants/getty@tty1.service getty.target.wants/getty@tty2.service getty.target.wants/getty@tty3.service getty.target.wants/getty@tty4.service getty.target.wants/getty@tty5.service getty.target.wants/getty@tty6.service