mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
units: kill the emergency shell with SIGHUP
This commit is contained in:
parent
420a0166a2
commit
319346674c
@ -17,3 +17,7 @@ StandardInput=tty
|
||||
Restart=restart-always
|
||||
RestartSec=0
|
||||
KillMode=process-group
|
||||
|
||||
# Bash ignores SIGTERM, so we send SIGHUP first, to ensure that bash
|
||||
# terminates cleanly.
|
||||
ExecStop=/bin/kill -HUP $(MAINPID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user