Browse Source

Upgrade in a different place

Bob Mottram 8 years ago
parent
commit
86487b69ef
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      src/freedombone-app-matrix

+ 5
- 1
src/freedombone-app-matrix View File

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