summaryrefslogtreecommitdiff
path: root/units/fedora
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-10 17:11:29 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-10 17:11:49 +0200
commit1fd116f7484fe85c30c6619154c2506a52da80ed (patch)
tree706b2513313436885e869b321db7c8aa126a6c6d /units/fedora
parentb00bad36414ba3acd857f8c5f3dec12ba202363a (diff)
units: set working directory to /root for sulogin, since sulogin is crazy
Diffstat (limited to 'units/fedora')
-rw-r--r--units/fedora/single.service1
1 files changed, 1 insertions, 0 deletions
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