chiark / gitweb /
exec: extend variable substitution to support splitting variable values into seperate...
[elogind.git] / units / getty@.service.m4
index 8f3f628b54684aa8e9276eaea6f6f8c888132e33..d0084233a9ab66bbb74a55ff65d15329229d5f11 100644 (file)
@@ -14,8 +14,13 @@ m4_dnl
 [Unit]
 Description=Getty on %I
 Before=getty.target
-After=basic.target
-Conflicts=shutdown.target
+m4_ifdef(`TARGET_FEDORA',
+After=rc-local.service
+Before=prefdm.service
+)m4_dnl
+m4_ifdef(`TARGET_ARCH',
+After=rc-local.service
+)m4_dnl
 
 [Service]
 Environment=TERM=linux
@@ -23,3 +28,6 @@ ExecStart=GETTY %I
 Restart=restart-always
 RestartSec=0
 KillMode=process-group
+
+[Install]
+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