systemd-serialgetty: Update to match version in recent systemd
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 22:48:09 +0000 (22:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 22:59:38 +0000 (22:59 +0000)
Whilst debugging other issues I noticed this was out of sync with the code
in systemd itself. This brings things back into sync and shouldn't hurt
anything.

(From OE-Core rev: b188bda18690dc1af1cb5d18bb0f3ad40c9a6cc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service

index 1c14dfe..46c15ed 100644 (file)
@@ -20,7 +20,7 @@ Before=getty.target
 IgnoreOnIsolate=yes
 
 [Service]
-ExecStart=-/sbin/agetty -s %I @BAUDRATE@ vt102
+ExecStart=-/sbin/agetty --keep-baud %I @BAUDRATE@ $TERM
 Type=idle
 Restart=always
 RestartSec=0
@@ -30,7 +30,4 @@ TTYReset=yes
 TTYVHangup=yes
 KillMode=process
 IgnoreSIGPIPE=no
-
-# Some login implementations ignore SIGTERM, so we send SIGHUP
-# instead, to ensure that login terminates cleanly.
-KillSignal=SIGHUP
+SendSIGHUP=yes