1) Start after basic.target, not the deprecated sysinit.target 2) Conflict with shutdown. 3) Be less noisy on start, to match prior behavior.
Signed-off-by: Bill Nottingham <[email protected]> --- units/fedora/single.service | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/units/fedora/single.service b/units/fedora/single.service index f494237..1ab2d0a 100644 --- a/units/fedora/single.service +++ b/units/fedora/single.service @@ -10,8 +10,8 @@ [Unit] Description=Rescue Shell DefaultDependencies=no -Conflicts=multi-user.target -After=sysinit.target +Conflicts=multi-user.target shutdown.target +After=basic.target Before=multi-user.target [Service] @@ -20,7 +20,6 @@ Environment=TERM=vt100-nav EnvironmentFile=/etc/sysconfig/init WorkingDirectory=/root ExecStartPre=-/bin/plymouth --hide-splash -ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" or ^D to activate default mode.' ExecStart=-/bin/bash -c "exec $SINGLE" ExecStopPost=/bin/systemctl default StandardInput=tty-force -- 1.7.3.1 _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
