X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fconsole-shell.service.m4;h=cce2d5a5a44e95e9bb45b2fecff852626544005d;hp=c98a08fccc7e05bb369e6cd2430d0b455d88788c;hb=b9a2a36b519ccd79c4198e7dda4e657d597a14ad;hpb=1063dc3a525a87c0285e071794317f71724492fe diff --git a/units/console-shell.service.m4 b/units/console-shell.service.m4 index c98a08fcc..cce2d5a5a 100644 --- a/units/console-shell.service.m4 +++ b/units/console-shell.service.m4 @@ -31,7 +31,7 @@ WorkingDirectory=/root ExecStart=-/sbin/sulogin ExecStopPost=-/bin/systemctl poweroff StandardInput=tty-force -KillMode=process-group +KillMode=process # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash # terminates cleanly.