summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/emergency.service1
-rw-r--r--units/fedora/single.service1
2 files changed, 2 insertions, 0 deletions
diff --git a/units/emergency.service b/units/emergency.service
index eafbf01c1f..8e378482c1 100644
--- a/units/emergency.service
+++ b/units/emergency.service
@@ -13,6 +13,7 @@ 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
diff --git a/units/fedora/single.service b/units/fedora/single.service
index 6205b79ce3..6afc8b358d 100644
--- a/units/fedora/single.service
+++ b/units/fedora/single.service
@@ -16,6 +16,7 @@ Before=multi-user.target
[Service]
Environment=HOME=/root
+WorkingDirectory=/root
ExecStartPre=-/bin/plymouth --hide-splash
ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" to activate default mode.'
ExecStart=-/sbin/sulogin