chiark / gitweb /
build-sys: prepare release v18
[elogind.git] / units / rescue.service.m4
index d31282d37e972be50158b404232cf1cd6629d8d5..ba29f6e6e6f14b4ed2577b33cedee303c2bcdf48 100644 (file)
@@ -16,7 +16,6 @@ Before=shutdown.target
 
 [Service]
 Environment=HOME=/root
-Environment=TERM=vt100-nav
 WorkingDirectory=/root
 ExecStartPre=-/bin/plymouth --hide-splash
 ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" or ^D to activate default mode.'
@@ -24,7 +23,7 @@ m4_ifdef(`TARGET_FEDORA',
 `EnvironmentFile=/etc/sysconfig/init
 ExecStart=-/bin/bash -c "exec ${SINGLE}"',
 `ExecStart=-/sbin/sulogin')
-ExecStopPost=/bin/systemctl default
+ExecStopPost=-/bin/systemctl --fail default
 StandardInput=tty-force
 KillMode=process-group