Browse Source

Disable matrix web client

Bob Mottram 8 years ago
parent
commit
197920ffae
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      src/freedombone-app-matrix

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

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