resolved: Do not add .busname dependencies, when compiling without kdbus.

(cherry picked from commit defa8e675b)
This commit is contained in:
Dimitri John Ledkov
2015-04-28 23:44:55 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 78bce4363b
commit 412dc90d0b
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -5459,7 +5459,7 @@ dist_dbussystemservice_DATA += \
src/resolve/org.freedesktop.resolve1.service
EXTRA_DIST += \
units/systemd-resolved.service.in
units/systemd-resolved.service.m4.in
SYSTEM_UNIT_ALIASES += \
systemd-resolved.service dbus-org.freedesktop.resolve1.service
+1
View File
@@ -55,6 +55,7 @@
/systemd-reboot.service
/systemd-remount-fs.service
/systemd-resolved.service
/systemd-resolved.service.m4
/systemd-hibernate-resume@.service
/systemd-rfkill@.service
/systemd-shutdownd.service
@@ -10,11 +10,13 @@ Description=Network Name Resolution
Documentation=man:systemd-resolved.service(8)
After=systemd-networkd.service network.service
m4_ifdef(`ENABLE_KDBUS',
# On kdbus systems we pull in the busname explicitly, because it
# carries policy that allows the daemon to acquire its name.
Wants=org.freedesktop.resolve1.busname
After=org.freedesktop.resolve1.busname
)m4_dnl
[Service]
Type=notify
Restart=always