mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
units: never pull in sysinit from utmp, so that we can shutdown from emergency mode without pulling in sysinit
This commit is contained in:
parent
5010903819
commit
cfcab43508
@ -12,3 +12,8 @@
|
||||
|
||||
[Unit]
|
||||
Description=Syslog
|
||||
|
||||
# Avoid that we conflict with shutdown.target, so that we can stay
|
||||
# until the very end and do not cancel shutdown.target if we should
|
||||
# hapen to be activated very late.
|
||||
DefaultDependencies=no
|
||||
|
@ -8,7 +8,6 @@
|
||||
[Unit]
|
||||
Description=Notify Audit System and Update UTMP about System Runlevel Changes
|
||||
DefaultDependencies=no
|
||||
Wants=local-fs.target sysinit.target
|
||||
After=local-fs.target sysinit.target auditd.service runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target systemd-tmpfiles-setup.service
|
||||
Before=poweroff.service reboot.service halt.service
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
[Unit]
|
||||
Description=Notify Audit System and Update UTMP about System Shutdown
|
||||
DefaultDependencies=no
|
||||
Wants=local-fs.target sysinit.target
|
||||
After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service
|
||||
Before=poweroff.service reboot.service halt.service
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user