Bob Mottram před 8 roky
rodič
revize
70b230294e
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1
    1
      src/freedombone-app-matrix
  2. 1
    1
      src/freedombone-utils-turn

+ 1
- 1
src/freedombone-app-matrix Zobrazit soubor

498
     remove_onion_service matrix ${MATRIX_ONION_PORT}
498
     remove_onion_service matrix ${MATRIX_ONION_PORT}
499
     remove_onion_service matrix ${MATRIX_ID_ONION_PORT}
499
     remove_onion_service matrix ${MATRIX_ID_ONION_PORT}
500
 
500
 
501
-    sed -i "/# Matrix Server{/,/# End of Matrix Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
501
+    sed -i "/# Matrix Server/,/# End of Matrix Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
502
     systemctl restart nginx
502
     systemctl restart nginx
503
 
503
 
504
     remove_completion_param install_matrix
504
     remove_completion_param install_matrix

+ 1
- 1
src/freedombone-utils-turn Zobrazit soubor

55
     fi
55
     fi
56
     apt-get -y remove coturn
56
     apt-get -y remove coturn
57
     rm -rf /var/lib/turn
57
     rm -rf /var/lib/turn
58
-    sed -i "/# TURN Server{/,/# End of TURN Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
58
+    sed -i "/# TURN Server/,/# End of TURN Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
59
     remove_onion_service turn ${TURN_ONION_PORT}
59
     remove_onion_service turn ${TURN_ONION_PORT}
60
     systemctl restart nginx
60
     systemctl restart nginx
61
 }
61
 }