]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: CPUShares= is so 2015
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Jul 2019 07:54:40 +0000 (09:54 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Jul 2019 14:00:13 +0000 (16:00 +0200)
Let's update our example to the brave new cgroupsv2 world, and use
CPUWeight= in our example.

man/systemctl.xml

index b2e3cbcb214d9085ddafd8721d6d672806acc9fb..62a08981f07d47a45526fe04ed7cb93ae5360e69 100644 (file)
@@ -1091,7 +1091,7 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
             next reboot. The syntax of the property assignment follows
             closely the syntax of assignments in unit files.</para>
 
-            <para>Example: <command>systemctl set-property foobar.service CPUShares=777</command></para>
+            <para>Example: <command>systemctl set-property foobar.service CPUWeight=200</command></para>
 
             <para>If the specified unit appears to be inactive, the
             changes will be only stored on disk as described