X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Frescue.service.m4;h=8f29de8a15c038471cec5921f311df433be74278;hp=d2fd582e86e69a7203e46e3ead9a90589d91100d;hb=7ef5875d142f01ab4fe8d35412d48c10723ae2d4;hpb=54e4fdef80693f7fd7893bd048bb4d9a258b03a6 diff --git a/units/rescue.service.m4 b/units/rescue.service.m4 index d2fd582e8..8f29de8a1 100644 --- a/units/rescue.service.m4 +++ b/units/rescue.service.m4 @@ -25,12 +25,14 @@ ExecStart=-/bin/bash -c "exec ${SINGLE}"', m4_ifdef(`TARGET_MANDRIVA', `EnvironmentFile=/etc/sysconfig/init ExecStart=-/bin/bash -c "exec ${SINGLE}"', -`ExecStart=-/sbin/sulogin' m4_ifdef(`TARGET_MEEGO', `EnvironmentFile=/etc/sysconfig/init -ExecStart=-/bin/bash -c "exec ${SINGLE}"',))) +ExecStart=-/bin/bash -c "exec ${SINGLE}"', +`ExecStart=-/sbin/sulogin'))) ExecStopPost=-/bin/systemctl --fail --no-block default StandardInput=tty-force +StandardOutput=inherit +StandardError=inherit KillMode=process # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash