summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-07-12 09:55:05 +0200
committerLennart Poettering <lennart@poettering.net>2019-07-12 16:00:23 +0200
commit5b792edb6892aa57fd094195f3614eae6d97f05d (patch)
treeccedf6a398460833a4872f588be809ab65f8ea9f /man
parent84f8e250ff999d91e2b44d41890ca840a383cb04 (diff)
downloadsystemd-5b792edb6892aa57fd094195f3614eae6d97f05d.tar.gz
systemd-5b792edb6892aa57fd094195f3614eae6d97f05d.tar.bz2
systemd-5b792edb6892aa57fd094195f3614eae6d97f05d.zip
man: add example for setting multiple properties at once
Fixes: #4908
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 62a08981f0..6f93e1cd2c 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -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>