summaryrefslogtreecommitdiff
path: root/units/emergency.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-10 16:53:53 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-10 17:11:48 +0200
commit739848d4f353288e4ed0abfcb894d581235c4c60 (patch)
treeb763b20e30872bd19ea01bb9d9699eeb906e8e04 /units/emergency.service
parentf27dcdcaa098f83b14d41af930eea71044550677 (diff)
units: set HOME=/root when running shells
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