chiark / gitweb /
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 eafbf01..8e37848 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 6205b79..6afc8b3 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