]> err.no Git - systemd/commitdiff
units: set working directory to /root for sulogin, since sulogin is crazy
authorLennart Poettering <lennart@poettering.net>
Fri, 10 Sep 2010 15:11:29 +0000 (17:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Sep 2010 15:11:49 +0000 (17:11 +0200)
units/emergency.service
units/fedora/single.service

index eafbf01c1fef6f56289df899c5680f765166db1a..8e378482c1ba41f977eaaedd99c4c2950fa2e7ba 100644 (file)
@@ -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
index 6205b79ce3a2bd2dd501865b88632fd9e777e769..6afc8b358d93e0e8ea99079210ce43751bf4841d 100644 (file)
@@ -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