diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp
index 95a9f479..6992e690 100755
--- a/src/freedombone-app-xmpp
+++ b/src/freedombone-app-xmpp
@@ -1144,10 +1144,10 @@ 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-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.service
+ echo ' _xmpp._tcp' >> /etc/avahi/services/xmpp.service
+ echo " 5269" >> /etc/avahi/services/xmpp.service
+ echo ' ' >> /etc/avahi/services/xmpp.service
echo '' >> /etc/avahi/services/xmpp.service
systemctl restart avahi-daemon