X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=units%2Fgetty%40.service.m4;h=bfceb39fde4f96e77ec26e2eaa93e6e85437f910;hb=6ea832a20700f5282c08c70f38422c6ab290a0b5;hp=a9733a60d61041d2b178ab7f3852300a53768bcb;hpb=cd25cce98f5cc930202212c3c9c13605c09698b4;p=elogind.git diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index a9733a60d..bfceb39fd 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -36,6 +36,10 @@ ExecStart=-/sbin/agetty %I 38400 Restart=always RestartSec=0 UtmpIdentifier=%I +TTYPath=/dev/%I +TTYReset=yes +TTYVHangup=yes +TTYVTDisallocate=yes KillMode=process # Unset locale for the console getty since the console has problems