diff options
Diffstat (limited to 'units/serial-getty@.service.m4')
-rw-r--r-- | units/serial-getty@.service.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 index 8b4f0fb9d5..082290cb8b 100644 --- a/units/serial-getty@.service.m4 +++ b/units/serial-getty@.service.m4 @@ -36,6 +36,9 @@ ExecStart=-/sbin/agetty -s %I 115200,38400,9600 Restart=always RestartSec=0 UtmpIdentifier=%I +TTYPath=/dev/%I +TTYReset=yes +TTYVHangup=yes KillMode=process # Some login implementations ignore SIGTERM, so we send SIGHUP |