summaryrefslogtreecommitdiff
path: root/units/emergency.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/emergency.service')
-rw-r--r--units/emergency.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/emergency.service b/units/emergency.service
index 4a1e31ac7f..eafbf01c1f 100644
--- a/units/emergency.service
+++ b/units/emergency.service
@@ -12,6 +12,7 @@ Description=Emergency Shell
DefaultDependencies=no
[Service]
+Environment=HOME=/root
ExecStartPre=-/bin/plymouth --hide-splash
ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" to activate default mode.'
ExecStart=-/sbin/sulogin