summaryrefslogtreecommitdiff
path: root/man/systemd.offline-updates.xml
diff options
context:
space:
mode:
authorMichael Zhivich <mzhivich@akamai.com>2019-07-12 12:22:30 -0400
committerLennart Poettering <lennart@poettering.net>2019-07-14 13:25:56 +0200
commita18d83c26422cae1022c6adafd401fbab5066fd5 (patch)
tree67c8ff947fa81db984bcf74e190aca7299c3b187 /man/systemd.offline-updates.xml
parentb425c3ae02bdedb6fbf7e5de4ff222f38200aa04 (diff)
downloadsystemd-a18d83c26422cae1022c6adafd401fbab5066fd5.tar.gz
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>
Diffstat (limited to 'man/systemd.offline-updates.xml')
-rw-r--r--man/systemd.offline-updates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/systemd.offline-updates.xml b/man/systemd.offline-updates.xml
index cd9c1b5865..06390669de 100644
--- a/man/systemd.offline-updates.xml
+++ b/man/systemd.offline-updates.xml
@@ -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>