X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Frescue.service.m4;h=d2fd582e86e69a7203e46e3ead9a90589d91100d;hb=1c5224b33630a1f95952796b2cb582be052e0c27;hp=969ac4728f7176d1fa83d9c06bfdc90bc64dfe8d;hpb=b1c66c44ef9e312805295395d728e47cdd08335c;p=elogind.git diff --git a/units/rescue.service.m4 b/units/rescue.service.m4 index 969ac4728..d2fd582e8 100644 --- a/units/rescue.service.m4 +++ b/units/rescue.service.m4 @@ -25,10 +25,13 @@ 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 +KillMode=process # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash # terminates cleanly.