summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-05 01:07:25 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-05 01:07:25 +0200
commit4da9969a61b52d388b48cb567be75ac7b1dcfe5e (patch)
tree1baf57d15731b2359c79725e8f07b89e8169f87c
parente653fb366c1a6c56be5a56e4b63d66498a7dc4e4 (diff)
systemd: pull in avahi from dbus activation indirectly to make it possible to deactivate it
-rw-r--r--avahi-daemon/avahi-daemon.service.in1
-rw-r--r--avahi-daemon/org.freedesktop.Avahi.service2
2 files changed, 2 insertions, 1 deletions
diff --git a/avahi-daemon/avahi-daemon.service.in b/avahi-daemon/avahi-daemon.service.in
index 6f05b4a..82f431f 100644
--- a/avahi-daemon/avahi-daemon.service.in
+++ b/avahi-daemon/avahi-daemon.service.in
@@ -30,3 +30,4 @@ NotifyAccess=main
[Install]
WantedBy=multi-user.target
Also=avahi-daemon.socket
+Alias=dbus-org.freedesktop.Avahi.service
diff --git a/avahi-daemon/org.freedesktop.Avahi.service b/avahi-daemon/org.freedesktop.Avahi.service
index ebc5f31..30ed2d8 100644
--- a/avahi-daemon/org.freedesktop.Avahi.service
+++ b/avahi-daemon/org.freedesktop.Avahi.service
@@ -17,7 +17,7 @@
[D-BUS Service]
Name=org.freedesktop.Avahi
-SystemdService=avahi-daemon.service
+SystemdService=dbus-org.freedesktop.Avahi.service
# This service should not be bus activated if systemd isn't running,
# so that activation won't conflict with the init script startup.