aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-06-19 14:33:59 +0200
committerLennart Poettering <lennart@poettering.net>2018-06-21 10:45:55 +0200
commitbc3c5e161978a16c205e5043120169ec76b5d19c (patch)
treeea00323242aad3bfa21fd3330c078e34b119c5e0
parentMerge pull request #9368 from yuwata/bash-completion-timedate (diff)
downloadsystemd-bc3c5e161978a16c205e5043120169ec76b5d19c.tar.xz
systemd-bc3c5e161978a16c205e5043120169ec76b5d19c.zip
man: systemd.offline-updates: Document system-update-pre.target usage
-rw-r--r--man/systemd.offline-updates.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/systemd.offline-updates.xml b/man/systemd.offline-updates.xml
index c11004c8822..113d74a2209 100644
--- a/man/systemd.offline-updates.xml
+++ b/man/systemd.offline-updates.xml
@@ -139,6 +139,17 @@
<varname>After=system-update-pre.target</varname>
and explicitly pull in any other services it requires.</para>
</listitem>
+
+ <listitem>
+ <para>It may be desirable to always run an auxiliary unit when booting
+ into offline-updates mode, which itself does not install updates. To
+ do this create a .service file with
+ <varname>Wants=system-update-pre.target</varname> and
+ <varname>Before=system-update-pre.target</varname> and add a symlink
+ to that file under
+ <filename noindex='true'>/usr/lib/systemd/system-update.target.wants</filename>
+ .</para>
+ </listitem>
</orderedlist>
</refsect1>