chiark / gitweb /
exec: hangup/reset/deallocate VTs in gettys
[elogind.git] / units / getty@.service.m4
index 1a8a6a0e9cf6f70af6fb5683d26959c3b03f689e..bfceb39fde4f96e77ec26e2eaa93e6e85437f910 100644 (file)
@@ -36,7 +36,11 @@ ExecStart=-/sbin/agetty %I 38400
 Restart=always
 RestartSec=0
 UtmpIdentifier=%I
-KillMode=process-group
+TTYPath=/dev/%I
+TTYReset=yes
+TTYVHangup=yes
+TTYVTDisallocate=yes
+KillMode=process
 
 # Unset locale for the console getty since the console has problems
 # displaying some internationalized messages.