chiark / gitweb /
units: add --no-block when starting normal service after shell exited
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Apr 2011 21:29:51 +0000 (23:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 16 Apr 2011 00:03:33 +0000 (02:03 +0200)
units/emergency.service
units/rescue.service.m4

index a97ec5e..eff5261 100644 (file)
@@ -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
 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
 
 StandardInput=tty-force
 KillMode=process
 
index 241c750..b48d085 100644 (file)
@@ -26,7 +26,7 @@ m4_ifdef(`TARGET_MANDRIVA',
 `EnvironmentFile=/etc/sysconfig/init
 ExecStart=-/bin/bash -c "exec ${SINGLE}"',
 `ExecStart=-/sbin/sulogin'))
 `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
 
 StandardInput=tty-force
 KillMode=process