From c7668c1ce04fa85370432d197d2ccd9411e85649 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 20 Jun 2018 12:46:18 +0200 Subject: 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. --- units/system-update-pre.target | 1 - units/system-update.target | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'units') 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 -- cgit v1.2.3-65-gdbad