From: Lennart Poettering Date: Fri, 10 Sep 2010 15:11:29 +0000 (+0200) Subject: units: set working directory to /root for sulogin, since sulogin is crazy X-Git-Tag: v10~24 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fd116f7484fe85c30c6619154c2506a52da80ed;p=systemd units: set working directory to /root for sulogin, since sulogin is crazy --- diff --git a/units/emergency.service b/units/emergency.service index eafbf01c..8e378482 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 6205b79c..6afc8b35 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