summaryrefslogtreecommitdiffstats
path: root/man/systemd.offline-updates.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/systemd.offline-updates.xml')
-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 c11004c882..113d74a220 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>