summaryrefslogtreecommitdiffstats
path: root/units/system-update.target
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-06-20 12:46:18 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-06-20 12:46:18 +0200
commitc7668c1ce04fa85370432d197d2ccd9411e85649 (patch)
tree73f468ee727a2bcaf0783b24f3ffe08a77f7b84e /units/system-update.target
parentMerge pull request #9348 from keszybz/copyright-removal (diff)
downloadsystemd-c7668c1ce04fa85370432d197d2ccd9411e85649.tar.xz
systemd-c7668c1ce04fa85370432d197d2ccd9411e85649.zip
units: make system-update-pre.target a passive unit (#9349)
This is an additional synchronization point normally not needed. Hence, let's make it passive, i.e. pull it in from the unit which wants to be ordered before the update service rather than by the update service itself.
Diffstat (limited to 'units/system-update.target')
-rw-r--r--units/system-update.target3
1 files changed, 1 insertions, 2 deletions
diff --git a/units/system-update.target b/units/system-update.target
index b52a494892..be007e306d 100644
--- a/units/system-update.target
+++ b/units/system-update.target
@@ -12,7 +12,6 @@ Description=Offline System Update
Documentation=man:systemd.offline-updates(7)
Documentation=man:systemd.special(7) man:systemd-system-update-generator(8)
Requires=sysinit.target
-After=sysinit.target
+After=sysinit.target system-update.target
AllowIsolate=yes
-Wants=system-update-pre.target
Wants=system-update-cleanup.service