diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-04-24 14:28:00 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-04-24 14:42:24 +0200 |
commit | f2b6878955b1f77ea1fa87b502b13d5dbefc57f6 (patch) | |
tree | 3fdf72d167a9e64ac16aaac52eaffa57c3cb9d13 /units/emergency.service.in | |
parent | manager: drop MountAuto= and SwapAuto= options (diff) | |
download | systemd-f2b6878955b1f77ea1fa87b502b13d5dbefc57f6.tar.xz systemd-f2b6878955b1f77ea1fa87b502b13d5dbefc57f6.zip |
service: introduce Type=idle and use it for gettys
Type=idle is much like Type=simple, however between the fork() and the
exec() in the child we wait until PID 1 informs us that no jobs are
left.
This is mostly a cosmetic fix to make gettys appear only after all boot
output is finished and complete.
Note that this does not impact the normal job logic as we do not delay
the completion of any jobs. We just delay the invocation of the actual
binary, and only for services that otherwise would be of Type=simple.
Diffstat (limited to 'units/emergency.service.in')
-rw-r--r-- | units/emergency.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/emergency.service.in b/units/emergency.service.in index c1421ba22c..75007563d7 100644 --- a/units/emergency.service.in +++ b/units/emergency.service.in @@ -20,6 +20,7 @@ ExecStartPre=-/bin/plymouth quit ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to enter default mode.' ExecStart=-/sbin/sulogin ExecStopPost=@SYSTEMCTL@ --fail --no-block default +Type=idle StandardInput=tty-force StandardOutput=inherit StandardError=inherit |