浏览代码

prosody modules in two directories

Bob Mottram 7 年前
父节点
当前提交
fa493156d4
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/freedombone-utils-web

+ 2
- 0
src/freedombone-utils-web 查看文件

@@ -817,8 +817,10 @@ function update_default_domain {
817 817
             chmod 600 /etc/prosody/prosody.cfg.lua
818 818
             if [ -d $INSTALL_DIR/prosody-modules ]; then
819 819
                 cp -r $INSTALL_DIR/prosody-modules/* /var/lib/prosody/prosody-modules/
820
+                cp -r $INSTALL_DIR/prosody-modules/* /usr/lib/prosody/modules/
820 821
             fi
821 822
             chown -R prosody:prosody /var/lib/prosody/prosody-modules
823
+            chown -R prosody:prosody /usr/lib/prosody/modules
822 824
             systemctl reload prosody
823 825
         fi
824 826