chiark / gitweb /
units: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more...
[elogind.git] / units / emergency.service
index 52f875c6f39d37d89ecc3ee2805f7b67c8d212cb..cb28a783852a172bbe592a8ed7175b5c7fe669ed 100644 (file)
@@ -15,12 +15,11 @@ 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 default
 StandardInput=tty-force
 KillMode=process-group