summaryrefslogtreecommitdiff
path: root/man/systemd.offline-updates.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-11-21 20:22:12 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-11-21 22:03:57 +0100
commitb0343f8c96e984211c24c3ba404f0a82b60244b4 (patch)
treee3bb2a6e9bcf12398f6d24e6b05c89e8b7baeadb /man/systemd.offline-updates.xml
parent8eb6e6ed09bf037f97569701e409fca888f27309 (diff)
downloadsystemd-b0343f8c96e984211c24c3ba404f0a82b60244b4.tar.gz
man: change noindex="true" to index="false"
We nowadays prefer positive options over negative.
Diffstat (limited to 'man/systemd.offline-updates.xml')
-rw-r--r--man/systemd.offline-updates.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/man/systemd.offline-updates.xml b/man/systemd.offline-updates.xml
index 06390669de..89c12b598b 100644
--- a/man/systemd.offline-updates.xml
+++ b/man/systemd.offline-updates.xml
@@ -35,13 +35,13 @@
<listitem>
<para>The package manager prepares system updates by downloading all (RPM or DEB or
whatever) packages to update off-line in a special directory
- <filename noindex="true">/var/lib/system-update</filename> (or
+ <filename index="false">/var/lib/system-update</filename> (or
another directory of the package/upgrade manager's choice).</para>
</listitem>
<listitem>
<para>When the user OK'ed the update, the symlink <filename>/system-update</filename> is
- created that points to <filename noindex="true">/var/lib/system-update</filename> (or
+ created that points to <filename index="false">/var/lib/system-update</filename> (or
wherever the directory with the upgrade files is located) and the system is rebooted. This
symlink is in the root directory, since we need to check for it very early at boot, at a
time where <filename>/var</filename> is not available yet.</para>
@@ -106,12 +106,12 @@
<orderedlist>
<listitem>
<para>To make things a bit more robust we recommend hooking the update script into
- <filename>system-update.target</filename> via a <filename noindex='true'>.wants/</filename>
+ <filename>system-update.target</filename> via a <filename index="false">.wants/</filename>
symlink in the distribution package, rather than depending on <command>systemctl
enable</command> in the postinst scriptlets of your package. More specifically, for your
update script create a .service file, without [Install] section, and then add a symlink like
- <filename noindex='true'>/usr/lib/systemd/system-update.target.wants/foobar.service</filename>
- → <filename noindex='true'>../foobar.service</filename> to your package.</para>
+ <filename index="false">/usr/lib/systemd/system-update.target.wants/foobar.service</filename>
+ → <filename index="false">../foobar.service</filename> to your package.</para>
</listitem>
<listitem>
@@ -144,7 +144,7 @@
<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>
+ <filename index="false">/usr/lib/systemd/system-update.target.wants</filename>
.</para>
</listitem>
</orderedlist>