summaryrefslogtreecommitdiffstats
path: root/man/systemd.unit.xml
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-02-22 19:20:37 +0100
committerLuca Boccassi <luca.boccassi@microsoft.com>2021-06-24 14:57:48 +0200
commit1e26f8a60bd0f3e5acf1931968af053eebb9a454 (patch)
tree12c8fed2dc13774a8a3baa507a32ed63ddeb1f60 /man/systemd.unit.xml
parentbasic/extract-word: add EXTRACT_RETAIN_SEPARATORS flag (diff)
downloadsystemd-1e26f8a60bd0f3e5acf1931968af053eebb9a454.tar.xz
systemd-1e26f8a60bd0f3e5acf1931968af053eebb9a454.zip
core: add ConditionOSRelease= directive
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r--man/systemd.unit.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index a17b752d54..78ba9731dd 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -1647,6 +1647,19 @@
</varlistentry>
<varlistentry>
+ <term><varname>ConditionOSRelease=</varname></term>
+
+ <listitem><para>Verify that a specific <literal>key=value</literal> pair is set in the host's
+ <citerefentry><refentrytitle>os-release</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
+
+ <para>Other than exact matching with <literal>=</literal>, and <literal>!=</literal>, relative
+ comparisons are supported for versioned parameters (e.g. <literal>VERSION_ID</literal>). The
+ comparator can be one of <literal>&lt;</literal>, <literal>&lt;=</literal>, <literal>=</literal>,
+ <literal>!=</literal>, <literal>&gt;=</literal> and <literal>&gt;</literal>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>AssertArchitecture=</varname></term>
<term><varname>AssertVirtualization=</varname></term>
<term><varname>AssertHost=</varname></term>
@@ -1673,6 +1686,7 @@
<term><varname>AssertControlGroupController=</varname></term>
<term><varname>AssertMemory=</varname></term>
<term><varname>AssertCPUs=</varname></term>
+ <term><varname>AssertOSRelease=</varname></term>
<listitem><para>Similar to the <varname>ConditionArchitecture=</varname>,
<varname>ConditionVirtualization=</varname>, …, condition settings described above, these settings