chiark / gitweb /
units: hwclock support for non-UTC must not be in the default
[elogind.git] / units / emergency.service
index 4a1e31ac7f002398acabc5cb9d518cf85af487e2..8e378482c1ba41f977eaaedd99c4c2950fa2e7ba 100644 (file)
@@ -12,6 +12,8 @@ Description=Emergency Shell
 DefaultDependencies=no
 
 [Service]
+Environment=HOME=/root
+WorkingDirectory=/root
 ExecStartPre=-/bin/plymouth --hide-splash
 ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" to activate default mode.'
 ExecStart=-/sbin/sulogin