diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-13 23:29:51 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-16 02:03:33 +0200 |
commit | 7f62e3774c08a9c14d9f69de1ae8830e94f8f1ec (patch) | |
tree | 783bc0161d8f2650e17d617f7005d8fab11ec439 | |
parent | 619c2581a2aee8a148caa3b5bec1487fe1a868c6 (diff) |
units: add --no-block when starting normal service after shell exited
-rw-r--r-- | units/emergency.service | 2 | ||||
-rw-r--r-- | units/rescue.service.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/units/emergency.service b/units/emergency.service index a97ec5e389..eff5261868 100644 --- a/units/emergency.service +++ b/units/emergency.service @@ -19,7 +19,7 @@ WorkingDirectory=/root ExecStartPre=-/bin/plymouth quit ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.' ExecStart=-/sbin/sulogin -ExecStopPost=/bin/systemctl --fail default +ExecStopPost=/bin/systemctl --fail --no-block default StandardInput=tty-force KillMode=process diff --git a/units/rescue.service.m4 b/units/rescue.service.m4 index 241c75071f..b48d085024 100644 --- a/units/rescue.service.m4 +++ b/units/rescue.service.m4 @@ -26,7 +26,7 @@ m4_ifdef(`TARGET_MANDRIVA', `EnvironmentFile=/etc/sysconfig/init ExecStart=-/bin/bash -c "exec ${SINGLE}"', `ExecStart=-/sbin/sulogin')) -ExecStopPost=-/bin/systemctl --fail default +ExecStopPost=-/bin/systemctl --fail --no-block default StandardInput=tty-force KillMode=process |