core/dbus-unit: add property_get_requires_mounts_for() to send correct message (...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 14 Nov 2017 08:01:21 +0000 (17:01 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Nov 2017 08:01:21 +0000 (09:01 +0100)
commit99c1401807abd432a526c2a75dd02d723f9630a0
tree19278d6eec8bfad31edb726ccf0bd274a63e3b8b
parentab0fc8711b5021c82a1c6c04d24a0805319afea4
core/dbus-unit: add property_get_requires_mounts_for() to send correct message (#7322)

PR #7186 changes requires_mounts_for from strv to Hashmap.
So, it is necessary to implement a function for getting the property RequiresMountsFor=.
This introduces property_get_requires_mounts_for() which reads the Hashmap
and sends messages to bus.

Fixes #7321.
src/core/dbus-unit.c