chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
units: always send HUP when dealing with shells/gettys/logins
[elogind.git]
/
units
/
emergency.service
diff --git
a/units/emergency.service
b/units/emergency.service
index 7a1f81a468bb77eb602a33d1e4dc5978b2febd9d..dda7e168cb65ec447766b0e1a90bf549c00ddab3 100644
(file)
--- a/
units/emergency.service
+++ b/
units/emergency.service
@@
-20,6
+20,6
@@
Restart=restart-always
RestartSec=0
KillMode=process-group
RestartSec=0
KillMode=process-group
-# Bash ignores SIGTERM, so we send SIGHUP
first
, to ensure that bash
+# Bash ignores SIGTERM, so we send SIGHUP
instead
, to ensure that bash
# terminates cleanly.
# terminates cleanly.
-ExecStop=-/bin/kill -HUP ${MAINPID}
+KillSignal=SIGHUP