1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

units: add --no-block when starting normal service after shell exited

This commit is contained in:
Lennart Poettering 2011-04-13 23:29:51 +02:00
parent 619c2581a2
commit 7f62e3774c
2 changed files with 2 additions and 2 deletions

View 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
ExecStopPost=/bin/systemctl --fail default
ExecStopPost=/bin/systemctl --fail --no-block default
StandardInput=tty-force
KillMode=process

View File

@ -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