chiark / gitweb /
journald: fix another bad memory access
[elogind.git] / units / getty@.service.m4
index 17c76f5b3154e6065b24ab493a7cab6cf1e9dddb..fcf1de197fb94383e7b5b9cf8e2bbdf995f75037 100644 (file)
@@ -7,6 +7,7 @@
 
 [Unit]
 Description=Getty on %I
+Documentation=man:agetty(8)
 After=systemd-user-sessions.service plymouth-quit-wait.service
 m4_ifdef(`TARGET_FEDORA',
 After=rc-local.service
@@ -40,7 +41,9 @@ ConditionPathExists=/dev/tty0
 
 [Service]
 Environment=TERM=linux
-ExecStart=-/sbin/agetty %I 38400
+# the VT is cleared by TTYVTDisallocate
+ExecStart=-/sbin/agetty --noclear %I 38400
+Type=idle
 Restart=always
 RestartSec=0
 UtmpIdentifier=%I