chiark / gitweb /
journald: fix another bad memory access
[elogind.git] / units / getty@.service.m4
index 431a3dd722c6def4834d44e99f71065cfc1b683b..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,8 @@ 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