X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Femergency.service;h=eff5261868566a08cc9af23260882dca2f42718f;hp=52f875c6f39d37d89ecc3ee2805f7b67c8d212cb;hb=7948c4dfbea73ac21250b588089039aa17a90386;hpb=de47ca9b50e8c05c9fc116ff37794e526bddf92e diff --git a/units/emergency.service b/units/emergency.service index 52f875c6f..eff526186 100644 --- a/units/emergency.service +++ b/units/emergency.service @@ -15,14 +15,13 @@ Before=shutdown.target [Service] Environment=HOME=/root -Environment=TERM=vt100-nav WorkingDirectory=/root -ExecStartPre=-/bin/plymouth --hide-splash +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 default +ExecStopPost=/bin/systemctl --fail --no-block default StandardInput=tty-force -KillMode=process-group +KillMode=process # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash # terminates cleanly.