X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Frescue.service.m4;h=5b4ab6efb6aa252698deb3ffffbe29de201c1a4e;hb=e124e7a4a15f89fc6fbdf3e554a86d5a26160624;hp=969ac4728f7176d1fa83d9c06bfdc90bc64dfe8d;hpb=b1c66c44ef9e312805295395d728e47cdd08335c;p=elogind.git diff --git a/units/rescue.service.m4 b/units/rescue.service.m4 index 969ac4728..5b4ab6efb 100644 --- a/units/rescue.service.m4 +++ b/units/rescue.service.m4 @@ -25,10 +25,15 @@ ExecStart=-/bin/bash -c "exec ${SINGLE}"', m4_ifdef(`TARGET_MANDRIVA', `EnvironmentFile=/etc/sysconfig/init ExecStart=-/bin/bash -c "exec ${SINGLE}"', -`ExecStart=-/sbin/sulogin')) -ExecStopPost=-/bin/systemctl --fail default +`ExecStart=-/sbin/sulogin' +m4_ifdef(`TARGET_MEEGO', +`EnvironmentFile=/etc/sysconfig/init +ExecStart=-/bin/bash -c "exec ${SINGLE}"',))) +ExecStopPost=-/bin/systemctl --fail --no-block default StandardInput=tty-force -KillMode=process-group +StandardOutput=inherit +StandardError=inherit +KillMode=process # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash # terminates cleanly.