Selaa lähdekoodia

Upgrade in a different place

Bob Mottram 8 vuotta sitten
vanhempi
commit
86487b69ef
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5
    1
      src/freedombone-app-matrix

+ 5
- 1
src/freedombone-app-matrix Näytä tiedosto

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