]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cgroup: Use varname for cgroup_disable documentation
authorChris Down <chris@chrisdown.name>
Tue, 4 Dec 2018 11:42:30 +0000 (11:42 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 4 Dec 2018 13:59:32 +0000 (14:59 +0100)
The current use of literal + replaceable is pretty ugly as it usually
ends up with cgroup_disable= rendered in quotes, which looks really
weird, and this doesn't conform with others of a similar type (for
example, the earlier `DefaultDependencies=no` discussion in the same
file.

man/systemd.unit.xml

index 2c66db854b7a4724e2167458393528ea39faeeb0..5fb090f6d35e8b38d566e05479f3a3458eb3a519 100644 (file)
         cgroup controller name (eg. <option>cpu</option>), verifying that it is
         available for use on the system. For example, a particular controller
         may not be available if it was disabled on the kernel command line with
-        <literal>cgroup_disable=</literal><replaceable>controller</replaceable>.
-        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 <option>cpu</option>, <option>cpuacct</option>,
-        <option>io</option>, <option>blkio</option>, <option>memory</option>,
+        <varname>cgroup_disable=controller</varname>. 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
+        <option>cpu</option>, <option>cpuacct</option>, <option>io</option>,
+        <option>blkio</option>, <option>memory</option>,
         <option>devices</option>, and <option>pids</option>.</para>
 
         <para>If multiple conditions are specified, the unit will be