浏览代码

xmpp avahi service filename

Bob Mottram 7 年前
父节点
当前提交
66321c57e8
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      src/freedombone-app-xmpp

+ 4
- 4
src/freedombone-app-xmpp 查看文件

@@ -1144,10 +1144,10 @@ function install_xmpp {
1144 1144
     echo '    <type>_xmpp._tcp</type>' >> /etc/avahi/services/xmpp.service
1145 1145
     echo "    <port>5222</port>" >> /etc/avahi/services/xmpp.service
1146 1146
     echo '  </service>' >> /etc/avahi/services/xmpp.service
1147
-    echo '  <service>' >> /etc/avahi/services/xmpp-server.service
1148
-    echo '    <type>_xmpp._tcp</type>' >> /etc/avahi/services/xmpp-server.service
1149
-    echo "    <port>5269</port>" >> /etc/avahi/services/xmpp-server.service
1150
-    echo '  </service>' >> /etc/avahi/services/xmpp-server.service
1147
+    echo '  <service>' >> /etc/avahi/services/xmpp.service
1148
+    echo '    <type>_xmpp._tcp</type>' >> /etc/avahi/services/xmpp.service
1149
+    echo "    <port>5269</port>" >> /etc/avahi/services/xmpp.service
1150
+    echo '  </service>' >> /etc/avahi/services/xmpp.service
1151 1151
     echo '</service-group>' >> /etc/avahi/services/xmpp.service
1152 1152
 
1153 1153
     systemctl restart avahi-daemon