diff options
author | Bill Nottingham <notting@redhat.com> | 2010-09-09 11:50:22 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-09-09 11:50:22 -0400 |
commit | 34f248035455d1ef5d7f3448889f61470b836960 (patch) | |
tree | 2107a32e7c67b5b79d2b4fed4b5f34c850b5bb2d | |
parent | f9c64ecb91b8859d40d22fafd05302951b687b57 (diff) | |
download | initscripts-34f248035455d1ef5d7f3448889f61470b836960.tar initscripts-34f248035455d1ef5d7f3448889f61470b836960.tar.gz initscripts-34f248035455d1ef5d7f3448889f61470b836960.tar.bz2 initscripts-34f248035455d1ef5d7f3448889f61470b836960.tar.xz initscripts-34f248035455d1ef5d7f3448889f61470b836960.zip |
Sett $HOME for single-user mode. (#631590)
-rw-r--r-- | systemd/single.service | 1 |
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 |