diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-08-16 18:07:30 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-08-17 00:08:37 +0200 |
commit | eab62c01ef81adb85dbbb561b3102d1cf960f5b6 (patch) | |
tree | 6765f7aa06432a72c5f0280bf955d44e5d098ae9 /src/fuzz | |
parent | Merge pull request #24301 from yuwata/network-tuntap (diff) | |
download | systemd-eab62c01ef81adb85dbbb561b3102d1cf960f5b6.tar.xz systemd-eab62c01ef81adb85dbbb561b3102d1cf960f5b6.zip |
manager: allow assignment of properties on target/swap/device units
E.g. Documentation or Markers could apply to any unit type. This already worked
partially, because a direct dbus call could be made:
After rebuild with the patch, but before the manager has been restarted:
$ build/systemctl --user set-property dev-zram0.swap Markers=+needs-restart
$ build/systemctl --user show -p Markers dev-zram0.swap
Markers=needs-restart
I noticed that that the rpm unit restart helper was throwing errors for target
units. We should just let the Markers be set for those too, even if it doesn't
do anything in the end. This way we don't need to special-case by unit type.
Diffstat (limited to 'src/fuzz')
0 files changed, 0 insertions, 0 deletions