瀏覽代碼

Upgrade in a different place

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

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

324
     chown -R matrix:matrix /etc/matrix
324
     chown -R matrix:matrix /etc/matrix
325
     chown -R matrix:matrix /etc/sydent
325
     chown -R matrix:matrix /etc/sydent
326
     chown -R matrix:matrix $MATRIX_DATA_DIR
326
     chown -R matrix:matrix $MATRIX_DATA_DIR
327
+
328
+    systemctl restart turn
329
+    systemctl restart matrix
327
 }
330
 }
328
 
331
 
329
 function backup_local_matrix {
332
 function backup_local_matrix {
634
     pip install --upgrade pip
637
     pip install --upgrade pip
635
     pip install --upgrade python-ldap
638
     pip install --upgrade python-ldap
636
     pip install --upgrade lxml
639
     pip install --upgrade lxml
637
-    pip install --upgrade --force "pynacl==0.3.0"
638
 
640
 
639
     function_check install_home_server
641
     function_check install_home_server
640
     install_home_server
642
     install_home_server
645
     function_check update_default_domain
647
     function_check update_default_domain
646
     update_default_domain
648
     update_default_domain
647
 
649
 
650
+    pip install --upgrade --force "pynacl==0.3.0"
651
+
648
     function_check matrix_nginx
652
     function_check matrix_nginx
649
     matrix_nginx
653
     matrix_nginx
650
 
654