summaryrefslogtreecommitdiff
path: root/man/systemd.unit.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-07-21 11:19:13 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-08-23 09:24:44 +0200
commit6d48c7cf736ced70c1c2fef1e1f03618911d04bc (patch)
tree56668077e0e981085e8fe67a882b87b675f39418 /man/systemd.unit.xml
parente3a4724db2fca3e0269e44dccb4c3ec692fb1943 (diff)
downloadsystemd-6d48c7cf736ced70c1c2fef1e1f03618911d04bc.tar.gz
docs: remove documentation about cgroupsv1 settings
it's legacy. We'll continue to support it in code, but let's simplify the docs a bit, and not mention this legacy stuff anymore.
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r--man/systemd.unit.xml21
1 files changed, 5 insertions, 16 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index ea95ba8869..c7def6bdcb 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -1575,25 +1575,14 @@
<term><varname>ConditionControlGroupController=</varname></term>
<listitem><para>Check whether given cgroup controllers (e.g. <literal>cpu</literal>) are available
- for use on the system or whether the legacy v1 cgroup or the modern v2 cgroup hierarchy is used.
- </para>
+ for use on the system.</para>
<para>Multiple controllers may be passed with a space separating them; in this case the condition
will only pass if all listed controllers are available for use. Controllers unknown to systemd are
- ignored. Valid controllers are <literal>cpu</literal>, <literal>cpuacct</literal>,
- <literal>io</literal>, <literal>blkio</literal>, <literal>memory</literal>,
- <literal>devices</literal>, and <literal>pids</literal>. Even if available in the kernel, a
- particular controller may not be available if it was disabled on the kernel command line with
- <varname>cgroup_disable=controller</varname>.</para>
-
- <para>Alternatively, two special strings <literal>v1</literal> and <literal>v2</literal> may be
- specified (without any controller names). <literal>v2</literal> will pass if the unified v2 cgroup
- hierarchy is used, and <literal>v1</literal> will pass if the legacy v1 hierarchy or the hybrid
- hierarchy are used (see the discussion of <varname>systemd.unified_cgroup_hierarchy</varname> and
- <varname>systemd.legacy_systemd_cgroup_controller</varname> in
- <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>
- for more information).</para>
- </listitem>
+ ignored. Valid controllers are <literal>cpu</literal>, <literal>cpuset</literal>,
+ <literal>io</literal>, <literal>memory</literal>, and <literal>pids</literal>. Even if available in
+ the kernel, a particular controller may not be available if it was disabled on the kernel command
+ line with <varname>cgroup_disable=controller</varname>.</para></listitem>
</varlistentry>
<varlistentry>