From 9f78c7df9f109cdbe5bd23161a6b8e0cb6426b42 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 30 Jan 2018 10:37:02 +0000 Subject: [PATCH] Consolidate avahi service for xmpp --- src/freedombone-app-xmpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index 8d8b3720..95a9f479 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -1144,17 +1144,11 @@ function install_xmpp { echo ' _xmpp._tcp' >> /etc/avahi/services/xmpp.service echo " 5222" >> /etc/avahi/services/xmpp.service echo ' ' >> /etc/avahi/services/xmpp.service - echo '' >> /etc/avahi/services/xmpp.service - - echo '' > /etc/avahi/services/xmpp-server.service - echo '' >> /etc/avahi/services/xmpp-server.service - echo '' >> /etc/avahi/services/xmpp-server.service - echo ' %h XMPP S2S' >> /etc/avahi/services/xmpp-server.service echo ' ' >> /etc/avahi/services/xmpp-server.service - echo ' _xmpp-server._tcp' >> /etc/avahi/services/xmpp-server.service + echo ' _xmpp._tcp' >> /etc/avahi/services/xmpp-server.service echo " 5269" >> /etc/avahi/services/xmpp-server.service echo ' ' >> /etc/avahi/services/xmpp-server.service - echo '' >> /etc/avahi/services/xmpp-server.service + echo '' >> /etc/avahi/services/xmpp.service systemctl restart avahi-daemon