X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fconsole-getty.service.m4.in;h=8ac51a471be3569938a6854c3109c056258de22d;hp=0426050ee8df9bf3afc9f5be7cbcdd2482f76cb7;hb=a87a38c20196a4aeb56b6ba71d688eefd0b21c30;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/units/console-getty.service.m4.in b/units/console-getty.service.m4.in index 0426050ee..8ac51a471 100644 --- a/units/console-getty.service.m4.in +++ b/units/console-getty.service.m4.in @@ -15,7 +15,7 @@ After=rc-local.service Before=getty.target [Service] -ExecStart=-/sbin/agetty --noclear -s console 115200,38400,9600 +ExecStart=-/sbin/agetty --noclear --keep-baud console 115200,38400,9600 $TERM Type=idle Restart=always RestartSec=0 @@ -25,10 +25,7 @@ TTYReset=yes TTYVHangup=yes KillMode=process IgnoreSIGPIPE=no - -# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash -# terminates cleanly. -KillSignal=SIGHUP +SendSIGHUP=yes [Install] WantedBy=getty.target