diff --git a/units/system-update-cleanup.service.in b/units/system-update-cleanup.service.in index 116be8bc2d..dc524da7a3 100644 --- a/units/system-update-cleanup.service.in +++ b/units/system-update-cleanup.service.in @@ -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 diff --git a/units/systemd-networkd-wait-online.service.in b/units/systemd-networkd-wait-online.service.in index a84e91906d..89ca865b55 100644 --- a/units/systemd-networkd-wait-online.service.in +++ b/units/systemd-networkd-wait-online.service.in @@ -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 diff --git a/units/systemd-volatile-root.service.in b/units/systemd-volatile-root.service.in index cc4e604e4c..c5a4ca3c27 100644 --- a/units/systemd-volatile-root.service.in +++ b/units/systemd-volatile-root.service.in @@ -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]