From: Lennart Poettering Date: Fri, 12 Jul 2019 07:55:05 +0000 (+0200) Subject: man: add example for setting multiple properties at once X-Git-Tag: v243-rc1~139^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b792edb6892aa57fd094195f3614eae6d97f05d;p=thirdparty%2Fsystemd.git man: add example for setting multiple properties at once Fixes: #4908 --- diff --git a/man/systemctl.xml b/man/systemctl.xml index 62a08981f07..6f93e1cd2cd 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. - 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. - + Note that this command allows changing multiple properties at the same time, which is + preferable over setting them individually. + + Example: systemctl set-property foobar.service CPUWeight=200 MemoryMax=2G IPAccounting=yes + + Like with unit file configuration settings, assigning an empty setting usually resets a + property to its defaults. + + Example: systemctl set-property avahi-daemon.service IPAddressDeny=