chiark / gitweb /
build-sys: prepare release v18
[elogind.git] / units / rescue.service.m4
index d173bebabce134ee36183b9b1b70fe6dfa08244d..ba29f6e6e6f14b4ed2577b33cedee303c2bcdf48 100644 (file)
@@ -16,15 +16,14 @@ 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.'
 m4_ifdef(`TARGET_FEDORA',
 `EnvironmentFile=/etc/sysconfig/init
-ExecStart=-/bin/bash -c "exec $SINGLE"',
+ExecStart=-/bin/bash -c "exec ${SINGLE}"',
 `ExecStart=-/sbin/sulogin')
-ExecStopPost=/bin/systemctl default
+ExecStopPost=-/bin/systemctl --fail default
 StandardInput=tty-force
 KillMode=process-group