X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Femergency.service.in;h=442f0e0ee637adda8de664bfac7f125f5b23da06;hp=75007563d736cdc67d09629d182d636c9b4e2ddc;hb=f2561e85982ed25b610cad6253599a051f9ec8e2;hpb=f2b6878955b1f77ea1fa87b502b13d5dbefc57f6 diff --git a/units/emergency.service.in b/units/emergency.service.in index 75007563d..442f0e0ee 100644 --- a/units/emergency.service.in +++ b/units/emergency.service.in @@ -5,10 +5,9 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. -# See systemd.special(7) for details - [Unit] Description=Emergency Shell +Documentation=man:sulogin(8) DefaultDependencies=no Conflicts=shutdown.target Before=shutdown.target @@ -17,7 +16,7 @@ Before=shutdown.target Environment=HOME=/root WorkingDirectory=/root ExecStartPre=-/bin/plymouth quit -ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to enter default mode.' +ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again\\nto boot into default mode.' ExecStart=-/sbin/sulogin ExecStopPost=@SYSTEMCTL@ --fail --no-block default Type=idle