浏览代码

Fixes configuring prosody which can break also jicofo configuration, the missing domain will fail later creating admin account for jicofo.

master
Damian Minkov 11 年前
父节点
当前提交
b3a4b8a1cf
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      debian/jitsi-meet-prosody.postinst

+ 5
- 0
debian/jitsi-meet-prosody.postinst 查看文件

@@ -52,6 +52,11 @@ case "$1" in
52 52
                 ln -s $PROSODY_HOST_CONFIG /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.lua
53 53
             fi
54 54
             PROSODY_CREATE_JICOFO_USER="true"
55
+            # on some distributions main prosody config doesn't include configs
56
+            # from conf.d folder enable it as this where we put our config by default
57
+            if ! grep -q "Include \"conf\.d\/\*\.cfg.lua\"" $PROSODY_CONFIG_OLD; then
58
+                echo -e "\nInclude \"conf.d/*.cfg.lua\"" >> $PROSODY_CONFIG_OLD
59
+            fi
55 60
         fi
56 61
         # UPGRADE to server side focus check if focus is configured
57 62
         if [ -f $PROSODY_HOST_CONFIG ] && ! grep -q "VirtualHost \"auth.$JVB_HOSTNAME\"" $PROSODY_HOST_CONFIG; then

正在加载...
取消
保存