chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: convert ephemeral to enum
[elogind.git]
/
units
/
serial-getty@.service.m4
diff --git
a/units/serial-getty@.service.m4
b/units/serial-getty@.service.m4
index 5e16963e92b861e24a73b3b08a8027c1c03f1fdd..4522d0d2be30d499194f5e3006be92d134141f87 100644
(file)
--- a/
units/serial-getty@.service.m4
+++ b/
units/serial-getty@.service.m4
@@
-22,17
+22,16
@@
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
Type=idle
Restart=always
-RestartSec=0
UtmpIdentifier=%I
TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
KillMode=process
IgnoreSIGPIPE=no
UtmpIdentifier=%I
TTYPath=/dev/%I
TTYReset=yes
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