mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
man: offline-updates: make dependence on system-update.target explicit
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>
This commit is contained in:
parent
b425c3ae02
commit
a18d83c264
@ -133,7 +133,7 @@
|
||||
<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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user