From f3d1abbd95d1c9bae60db2c8483282dc3413650a Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 9 Sep 2010 11:50:22 -0400 Subject: Sett $HOME for single-user mode. (#631590) --- systemd/single.service | 1 + 1 file changed, 1 insertion(+) (limited to 'systemd/single.service') diff --git a/systemd/single.service b/systemd/single.service index 50f2a46b..7f6432b6 100644 --- a/systemd/single.service +++ b/systemd/single.service @@ -17,6 +17,7 @@ Before=multi-user.target [Service] Type=oneshot EnvironmentFile=/etc/sysconfig/init +Environment=HOME=/root ExecStartPre=-/bin/plymouth --hide-splash ExecStart=-/bin/bash -c "exec $SINGLE" ExecStartPost=/bin/systemctl default -- cgit v1.2.1