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 | Merge pull request #9348 from keszybz/copyright-removal (diff) | |
download | systemd-c7668c1ce04fa85370432d197d2ccd9411e85649.tar.gz systemd-c7668c1ce04fa85370432d197d2ccd9411e85649.tar.bz2 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')
-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 dbd9ad92e..163b75c22 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 b52a49489..be007e306 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 |