summaryrefslogtreecommitdiffstats
path: root/man/systemd.unit.xml
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-11-25 04:16:36 +0100
committerLuca Boccassi <bluca@debian.org>2023-11-29 12:04:59 +0100
commit9e615fa3aa9710f530a4242dd79e4c7a4f96256e (patch)
treedde29aca0f048952f5228c2d84efd72d6296eeb3 /man/systemd.unit.xml
parentmkosi: Install integritysetup on CentOS/Fedora (diff)
downloadsystemd-9e615fa3aa9710f530a4242dd79e4c7a4f96256e.tar.xz
systemd-9e615fa3aa9710f530a4242dd79e4c7a4f96256e.zip
core: add WantsMountsFor=
This is the equivalent of RequiresMountsFor=, but adds Wants= instead of Requires=. It will be useful for example for the autogenerated systemd-cryptsetup units. Fixes https://github.com/systemd/systemd/issues/11646
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r--man/systemd.unit.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 301fe77ce9..190d4c1d2f 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -920,6 +920,16 @@
</varlistentry>
<varlistentry>
+ <term><varname>WantsMountsFor=</varname></term>
+
+ <listitem><para>Same as <varname>RequiresMountsFor=</varname>,
+ but adds dependencies of type <varname>Wants=</varname> instead
+ of <varname>Requires=</varname>.</para>
+
+ <xi:include href="version-info.xml" xpointer="v256"/></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>OnSuccessJobMode=</varname></term>
<term><varname>OnFailureJobMode=</varname></term>