From 6d48c7cf736ced70c1c2fef1e1f03618911d04bc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 21 Jul 2022 11:19:13 +0200 Subject: 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. --- man/systemd.unit.xml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'man/systemd.unit.xml') 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 @@ ConditionControlGroupController= Check whether given cgroup controllers (e.g. cpu) are available - for use on the system or whether the legacy v1 cgroup or the modern v2 cgroup hierarchy is used. - + for use on the system. 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 cpu, cpuacct, - io, blkio, memory, - devices, and pids. Even if available in the kernel, a - particular controller may not be available if it was disabled on the kernel command line with - cgroup_disable=controller. - - Alternatively, two special strings v1 and v2 may be - specified (without any controller names). v2 will pass if the unified v2 cgroup - hierarchy is used, and v1 will pass if the legacy v1 hierarchy or the hybrid - hierarchy are used (see the discussion of systemd.unified_cgroup_hierarchy and - systemd.legacy_systemd_cgroup_controller in - systemd.service5 - for more information). - + ignored. Valid controllers are cpu, cpuset, + io, memory, and pids. Even if available in + the kernel, a particular controller may not be available if it was disabled on the kernel command + line with cgroup_disable=controller. -- cgit v1.2.1