X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Frescue.service.m4;h=241c75071f635d42517ee8f830e7ec554388a62b;hp=969ac4728f7176d1fa83d9c06bfdc90bc64dfe8d;hb=cd25cce98f5cc930202212c3c9c13605c09698b4;hpb=12235040ec94279ad92693dcfae0a4d9c35a6076 diff --git a/units/rescue.service.m4 b/units/rescue.service.m4 index 969ac4728..241c75071 100644 --- a/units/rescue.service.m4 +++ b/units/rescue.service.m4 @@ -28,7 +28,7 @@ ExecStart=-/bin/bash -c "exec ${SINGLE}"', `ExecStart=-/sbin/sulogin')) ExecStopPost=-/bin/systemctl --fail default StandardInput=tty-force -KillMode=process-group +KillMode=process # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash # terminates cleanly.