aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-09-14 12:24:37 -0400
committerBill Nottingham <notting@redhat.com>2010-09-14 12:24:37 -0400
commite7d5d1b861f4826d5b564df9a8efff8e7c25fb83 (patch)
tree52aa37dfe1176f08699c15b462b2d96306edaebf /systemd
parentae5338178c287a5354aee978a72998d3e72585a1 (diff)
downloadinitscripts-e7d5d1b861f4826d5b564df9a8efff8e7c25fb83.tar
initscripts-e7d5d1b861f4826d5b564df9a8efff8e7c25fb83.tar.gz
initscripts-e7d5d1b861f4826d5b564df9a8efff8e7c25fb83.tar.bz2
initscripts-e7d5d1b861f4826d5b564df9a8efff8e7c25fb83.tar.xz
initscripts-e7d5d1b861f4826d5b564df9a8efff8e7c25fb83.zip
Fix invocation so that runlevel setting works. (#630914)
Diffstat (limited to 'systemd')
-rw-r--r--systemd/single.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemd/single.service b/systemd/single.service
index 7f6432b6..d91166b3 100644
--- a/systemd/single.service
+++ b/systemd/single.service
@@ -15,12 +15,12 @@ After=sysinit.target
Before=multi-user.target
[Service]
-Type=oneshot
+Type=simple
EnvironmentFile=/etc/sysconfig/init
Environment=HOME=/root
ExecStartPre=-/bin/plymouth --hide-splash
ExecStart=-/bin/bash -c "exec $SINGLE"
-ExecStartPost=/bin/systemctl default
+ExecStopPost=/bin/systemctl default
StandardInput=tty-force
KillMode=process-group