aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/single.service
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-09-09 11:50:22 -0400
committerBill Nottingham <notting@redhat.com>2010-09-14 10:57:26 -0400
commitf3d1abbd95d1c9bae60db2c8483282dc3413650a (patch)
tree7856d2cc61fe61bf65959dcd2fa39fc5d52e2374 /systemd/single.service
parente36a1ab7148887960c46764e9e6d1967e3da7157 (diff)
downloadinitscripts-f3d1abbd95d1c9bae60db2c8483282dc3413650a.tar
initscripts-f3d1abbd95d1c9bae60db2c8483282dc3413650a.tar.gz
initscripts-f3d1abbd95d1c9bae60db2c8483282dc3413650a.tar.bz2
initscripts-f3d1abbd95d1c9bae60db2c8483282dc3413650a.tar.xz
initscripts-f3d1abbd95d1c9bae60db2c8483282dc3413650a.zip
Sett $HOME for single-user mode. (#631590)
Diffstat (limited to 'systemd/single.service')
-rw-r--r--systemd/single.service1
1 files changed, 1 insertions, 0 deletions
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