chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-dhcp6-client: Initialize fd to -1 and rename function
[elogind.git]
/
units
/
serial-getty@.service.m4
diff --git
a/units/serial-getty@.service.m4
b/units/serial-getty@.service.m4
index 5e16963e92b861e24a73b3b08a8027c1c03f1fdd..4ac51e768db3bebb83e022a96c354122b1d749a4 100644
(file)
--- a/
units/serial-getty@.service.m4
+++ b/
units/serial-getty@.service.m4
@@
-22,7
+22,7
@@
Before=getty.target
IgnoreOnIsolate=yes
[Service]
IgnoreOnIsolate=yes
[Service]
-ExecStart=-/sbin/agetty --keep-baud
%I 115200,38400,9600
+ExecStart=-/sbin/agetty --keep-baud
115200,38400,9600 %I $TERM
Type=idle
Restart=always
RestartSec=0
Type=idle
Restart=always
RestartSec=0
@@
-32,7
+32,7
@@
TTYReset=yes
TTYVHangup=yes
KillMode=process
IgnoreSIGPIPE=no
TTYVHangup=yes
KillMode=process
IgnoreSIGPIPE=no
+SendSIGHUP=yes
-# Some login implementations ignore SIGTERM, so we send SIGHUP
-# instead, to ensure that login terminates cleanly.
-KillSignal=SIGHUP
+[Install]
+WantedBy=getty.target