瀏覽代碼

Disable matrix web client

Bob Mottram 8 年之前
父節點
當前提交
197920ffae
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. 7
    1
      src/freedombone-app-matrix

+ 7
- 1
src/freedombone-app-matrix 查看文件

30
 # You should have received a copy of the GNU Affero General Public License
30
 # You should have received a copy of the GNU Affero General Public License
31
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
31
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
32
 
32
 
33
+# Login username is @username:domain
34
+
33
 VARIANTS='full full-vim chat'
35
 VARIANTS='full full-vim chat'
34
 
36
 
35
 IN_DEFAULT_INSTALL=0
37
 IN_DEFAULT_INSTALL=0
341
     chown -R matrix:matrix /etc/sydent
343
     chown -R matrix:matrix /etc/sydent
342
     chown -R matrix:matrix $MATRIX_DATA_DIR
344
     chown -R matrix:matrix $MATRIX_DATA_DIR
343
 
345
 
346
+    pip install --upgrade --force "pynacl==0.3.0"
347
+
344
     systemctl start turn
348
     systemctl start turn
345
     systemctl start matrix
349
     systemctl start matrix
346
     systemctl start sydent
350
     systemctl start sydent
639
         exit 783724
643
         exit 783724
640
     fi
644
     fi
641
 
645
 
646
+    sed -i 's|web_client:.*|web_client: False|g' $MATRIX_DATA_DIR/homeserver.yaml
647
+
642
     chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
648
     chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
643
     chown -R matrix:matrix /etc/matrix
649
     chown -R matrix:matrix /etc/matrix
644
     chown -R matrix:matrix $MATRIX_DATA_DIR
650
     chown -R matrix:matrix $MATRIX_DATA_DIR
732
     function_check update_default_domain
738
     function_check update_default_domain
733
     update_default_domain
739
     update_default_domain
734
 
740
 
735
-    #pip install --upgrade --force "pynacl==0.3.0"
741
+    pip install --upgrade --force "pynacl==0.3.0"
736
 
742
 
737
     function_check matrix_nginx
743
     function_check matrix_nginx
738
     matrix_nginx
744
     matrix_nginx