summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-07-16 03:48:10 +0200
committerKay Sievers <kay@vrfy.org>2014-07-16 04:12:03 +0200
commitb7e6c03d3bb4e571ad3391862e3f5e4d6bb0cfbb (patch)
tree8b9ac1db864550a66ac4c1de46dedd25019ec1ec /Makefile.am
parent18641cb17e2d5e95ba0edfd7f441df1998f8abd2 (diff)
resolved: add busname unit file
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index aca30b956b..ff64cbff0a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4575,6 +4575,9 @@ rootlibexec_PROGRAMS += \
nodist_systemunit_DATA += \
units/systemd-resolved.service
+dist_systemunit_DATA += \
+ units/org.freedesktop.resolve1.busname
+
dist_dbuspolicy_DATA += \
src/resolve/org.freedesktop.resolve1.conf
@@ -4584,6 +4587,12 @@ dist_dbussystemservice_DATA += \
EXTRA_DIST += \
units/systemd-resolved.service.in
+SYSTEM_UNIT_ALIASES += \
+ systemd-resolved.service dbus-org.freedesktop.resolve1.service
+
+BUSNAMES_TARGET_WANTS += \
+ org.freedesktop.resolve1.busname
+
GENERAL_ALIASES += \
$(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-resolved.service