From 7f62e3774c08a9c14d9f69de1ae8830e94f8f1ec Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 13 Apr 2011 23:29:51 +0200 Subject: [PATCH] units: add --no-block when starting normal service after shell exited --- units/emergency.service | 2 +- units/rescue.service.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/units/emergency.service b/units/emergency.service index a97ec5e3..eff52618 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 241c7507..b48d0850 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 -- 2.39.5