diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-07 22:19:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-07 23:44:08 +0100 |
commit | 78ad7cf1b9d0379f1ccc516f2555cb1476ca60bd (patch) | |
tree | 2891bc32368ee453dc22c1f0625e325a1f464f10 /units/org.freedesktop.resolve1.busname | |
parent | service: automatically create After= dependency from services to their .busna... (diff) | |
download | systemd-78ad7cf1b9d0379f1ccc516f2555cb1476ca60bd.tar.xz systemd-78ad7cf1b9d0379f1ccc516f2555cb1476ca60bd.zip |
units: make resolved pull in its own .busname unit, but only on kdbus systems
The daemon requires the busname unit to operate, since it contains the
policy that allows it to acquire its service name.
Diffstat (limited to 'units/org.freedesktop.resolve1.busname')
-rw-r--r-- | units/org.freedesktop.resolve1.busname | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/units/org.freedesktop.resolve1.busname b/units/org.freedesktop.resolve1.busname index 02588fbfab..5b7a7fed3f 100644 --- a/units/org.freedesktop.resolve1.busname +++ b/units/org.freedesktop.resolve1.busname @@ -10,6 +10,11 @@ Description=Network Name Resolution Service Bus Name Documentation=man:systemd-resolved.service(8) Documentation=http://www.freedesktop.org/wiki/Software/systemd/resolved +# This is pulled in by systemd-resolved.service, since it cannot run +# without its policy set. However, let's conditionalize this unit on +# non-kdbus system. +ConditionPathExists=/sys/fs/kdbus/0-system/ + [BusName] Service=systemd-resolved.service AllowWorld=talk |