summaryrefslogtreecommitdiffstats
path: root/src/core/org.freedesktop.systemd1.conf
diff options
context:
space:
mode:
authorkayrus <kayrus@users.noreply.github.com>2016-05-12 18:58:59 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-12 18:58:59 +0200
commit6900c740e1c2dab6d8f80e64e2fd1cd8c6d368a6 (patch)
tree32c58967417f803b6e5dd28dfc1152444410523b /src/core/org.freedesktop.systemd1.conf
parentCreate initrd-root-device.target synchronization point (#3239) (diff)
downloadsystemd-6900c740e1c2dab6d8f80e64e2fd1cd8c6d368a6.tar.xz
systemd-6900c740e1c2dab6d8f80e64e2fd1cd8c6d368a6.zip
core: added ListUnitsByNames dbus method (#3182)
This new method returns information by unit names. Instead of ListUnitsByPatterns this method returns information of inactive and even unexisting units. Moved dbus unit reply logic into a separate shared function. Resolves https://github.com/coreos/fleet/pull/1418
Diffstat (limited to 'src/core/org.freedesktop.systemd1.conf')
-rw-r--r--src/core/org.freedesktop.systemd1.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/org.freedesktop.systemd1.conf b/src/core/org.freedesktop.systemd1.conf
index 6c504a5e69..3c64f20872 100644
--- a/src/core/org.freedesktop.systemd1.conf
+++ b/src/core/org.freedesktop.systemd1.conf
@@ -156,6 +156,10 @@
<allow send_destination="org.freedesktop.systemd1"
send_interface="org.freedesktop.systemd1.Manager"
+ send_member="ListUnitsByNames"/>
+
+ <allow send_destination="org.freedesktop.systemd1"
+ send_interface="org.freedesktop.systemd1.Manager"
send_member="StartTransientUnit"/>
<allow send_destination="org.freedesktop.systemd1"