diff options
author | Ondrej Holy <oholy@redhat.com> | 2016-10-13 11:40:02 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2016-11-18 16:26:38 +0100 |
commit | 2a5d53d17d6169f604ea8f74f5b888b1dd570f31 (patch) | |
tree | a967b450a36ad5bd780ab56029ed22860359ffd8 /daemon | |
parent | 2b7842adbd23d79de933dd7e73f2e51c7ed4e2cc (diff) | |
download | gvfs-2a5d53d17d6169f604ea8f74f5b888b1dd570f31.tar.gz |
dnssd: Use only one daemon process
The dnssd backend was designed to run under one common daemon
process, however, new daemon is always spawn for each host
(i.e. backend) currently. Set common dbus mountpoint in order
to use one daemon process for all backends.
https://bugzilla.gnome.org/show_bug.cgi?id=631023
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/Makefile.am | 1 | ||||
-rw-r--r-- | daemon/dns-sd.mount.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 75dee1c6..9f3ffdd8 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -396,6 +396,7 @@ gvfsd_dnssd_SOURCES = \ gvfsd_dnssd_CPPFLAGS = \ $(flags) \ -DBACKEND_HEADER=gvfsbackenddnssd.h \ + -DMOUNTABLE_DBUS_NAME=org.gtk.vfs.mountpoint_dnssd \ -DDEFAULT_BACKEND_TYPE=dns-sd \ -DMAX_JOB_THREADS=1 \ $(AVAHI_CFLAGS) \ diff --git a/daemon/dns-sd.mount.in b/daemon/dns-sd.mount.in index 1224ae69..af09ca94 100644 --- a/daemon/dns-sd.mount.in +++ b/daemon/dns-sd.mount.in @@ -2,3 +2,4 @@ Type=dns-sd Exec=@libexecdir@/gvfsd-dnssd AutoMount=true +DBusName=org.gtk.vfs.mountpoint_dnssd |