]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: add example for setting multiple properties at once 13036/head
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Jul 2019 07:55:05 +0000 (09:55 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Jul 2019 14:00:23 +0000 (16:00 +0200)
Fixes: #4908
man/systemctl.xml

index 62a08981f07d47a45526fe04ed7cb93ae5360e69..6f93e1cd2cd260b75e57165f8b0a36869a11fdbd 100644 (file)
@@ -1098,11 +1098,15 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
             previously hence they will be effective when the unit will
             be started.</para>
 
-            <para>Note that this command allows changing multiple
-            properties at the same time, which is preferable over
-            setting them individually. Like with unit file configuration
-            settings, assigning an empty list will reset the property.
-            </para>
+            <para>Note that this command allows changing multiple properties at the same time, which is
+            preferable over setting them individually.</para>
+
+            <para>Example: <command>systemctl set-property foobar.service CPUWeight=200 MemoryMax=2G IPAccounting=yes</command></para>
+
+            <para>Like with unit file configuration settings, assigning an empty setting usually resets a
+            property to its defaults.</para>
+
+            <para>Example: <command>systemctl set-property avahi-daemon.service IPAddressDeny=</command></para>
           </listitem>
         </varlistentry>