chiark / gitweb /
service: drop special HTTP server target, as it is a bad idea anf Fedora specific
[elogind.git] / units / getty@.service.m4
index 6d458360a4e67d2a65e82b800d2f5eb55ee0b009..810c23fc12258ff91bf1a26c7766c97b5bfc14d5 100644 (file)
@@ -12,6 +12,9 @@ After=systemd-user-sessions.service plymouth-quit-wait.service
 m4_ifdef(`TARGET_FEDORA',
 After=rc-local.service
 )m4_dnl
+m4_ifdef(`TARGET_DEBIAN',
+After=rc.local.service
+)m4_dnl
 m4_ifdef(`TARGET_ARCH',
 After=rc-local.service
 )m4_dnl
@@ -40,8 +43,8 @@ IgnoreOnIsolate=yes
 ConditionPathExists=/dev/tty0
 
 [Service]
-Environment=TERM=linux
-ExecStart=-/sbin/agetty %I 38400
+# the VT is cleared by TTYVTDisallocate
+ExecStart=-/sbin/agetty --noclear %I 38400 linux
 Type=idle
 Restart=always
 RestartSec=0