Bug#807464: systemctl man page needs full examples for multiple property assignment

積丹尼 Dan Jacobson jidanni at jidanni.org
Wed Dec 9 04:47:06 GMT 2015


Package: systemd
Version: 228-2
Severity: wishlist
File: /usr/share/man/man1/systemctl.1.gz

We read:
           --runtime is passed, in which case the settings only apply until
           the next reboot. The syntax of the property assignment follows
           closely the syntax of assignments in unit files.

           Example: systemctl set-property foobar.service CPUShares=777

           Note that this command allows changing multiple properties at the
           same time, which is preferable over setting them individually. Like
           unit file configuration settings, assigning the empty list to list
           parameters will reset the list.

OK but you then need to add a further example:

   systemctl set-property foobar.service nurdbar.servive CPUShares=777

Or

   systemctl set-property foobar.service CPUShares=777 BlaBoo=888

Or

  systemctl set-property foobar.service nurdbar.servive CPUShares=777 BlaBoo=888

to clarify.

Also give an example of assigning the empty list.

Since the syntax "follows closely" but not exactly, hence full examples
are needed.



More information about the Pkg-systemd-maintainers mailing list