Current operation of system-update-cleanup.service (removing /system-update
symlink and rebooting) implies that any update must complete *before*
system-update.target is reached.
Update recommendations to include explicitly setting
Before=system-update.target in services that use offline-updates mode.
Signed-off-by: Michael Zhivich <mzhivich@akamai.com>
<listitem>
<para>The update service should declare <varname>DefaultDependencies=no</varname>,
<varname>Requires=sysinit.target</varname>, <varname>After=sysinit.target</varname>,
- <varname>After=system-update-pre.target</varname>
+ <varname>After=system-update-pre.target</varname>, <varname>Before=system-update.target</varname>
and explicitly pull in any other services it requires.</para>
</listitem>