diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-06-20 12:46:18 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-20 12:46:18 +0200 |
commit | c7668c1ce04fa85370432d197d2ccd9411e85649 (patch) | |
tree | 73f468ee727a2bcaf0783b24f3ffe08a77f7b84e /units | |
parent | 6dd9477dde37f3ecb7be6343543d3f30a9a40a10 (diff) | |
download | systemd-c7668c1ce04fa85370432d197d2ccd9411e85649.tar.gz |
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')
-rw-r--r-- | units/system-update-pre.target | 1 | ||||
-rw-r--r-- | units/system-update.target | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/units/system-update-pre.target b/units/system-update-pre.target index dbd9ad92ec..163b75c220 100644 --- a/units/system-update-pre.target +++ b/units/system-update-pre.target @@ -13,4 +13,3 @@ Documentation=man:systemd.offline-updates(7) Documentation=man:systemd.special(7) man:systemd-system-update-generator(8) RefuseManualStart=yes After=sysinit.target -Before=system-update.target 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 |