mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
units: add missing Before=shutdown.target for units which it Conflicts
There's a few services missing this ordering. Also remove a duplicate Conflicts=shutdown.target from systemd-volatile-root.service.
This commit is contained in:
parent
6f6d1a8a6a
commit
0b9ad5bf2e
|
@ -11,6 +11,7 @@ Documentation=man:systemd.special(5) man:systemd.offline-updates(7)
|
|||
After=system-update.target
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
Before=shutdown.target
|
||||
|
||||
# system-update-generator uses laccess("/system-update"), while a plain
|
||||
# ConditionPathExists=/system-update uses access("/system-update"), so
|
||||
|
|
|
@ -12,7 +12,7 @@ DefaultDependencies=no
|
|||
Conflicts=shutdown.target
|
||||
Requires=systemd-networkd.service
|
||||
After=systemd-networkd.service
|
||||
Before=network-online.target
|
||||
Before=network-online.target shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
|
@ -12,7 +12,6 @@ DefaultDependencies=no
|
|||
Conflicts=shutdown.target
|
||||
After=sysroot.mount
|
||||
Before=initrd-root-fs.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
AssertPathExists=/etc/initrd-release
|
||||
|
||||
[Service]
|
||||
|
|
Loading…
Reference in a new issue