From 4da9969a61b52d388b48cb567be75ac7b1dcfe5e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 5 Oct 2010 01:07:25 +0200 Subject: [PATCH] systemd: pull in avahi from dbus activation indirectly to make it possible to deactivate it --- avahi-daemon/avahi-daemon.service.in | 1 + avahi-daemon/org.freedesktop.Avahi.service | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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. -- 2.7.4