From 197920ffae0bdc868c042137e9c4c2c4a69a9d62 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 8 Feb 2017 17:50:24 +0000 Subject: [PATCH] Disable matrix web client --- src/freedombone-app-matrix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 9632e4ad..d6fd57a5 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -30,6 +30,8 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . +# Login username is @username:domain + VARIANTS='full full-vim chat' IN_DEFAULT_INSTALL=0 @@ -341,6 +343,8 @@ function upgrade_matrix { chown -R matrix:matrix /etc/sydent chown -R matrix:matrix $MATRIX_DATA_DIR + pip install --upgrade --force "pynacl==0.3.0" + systemctl start turn systemctl start matrix systemctl start sydent @@ -639,6 +643,8 @@ function install_home_server { exit 783724 fi + sed -i 's|web_client:.*|web_client: False|g' $MATRIX_DATA_DIR/homeserver.yaml + chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml chown -R matrix:matrix /etc/matrix chown -R matrix:matrix $MATRIX_DATA_DIR @@ -732,7 +738,7 @@ function install_matrix { function_check update_default_domain update_default_domain - #pip install --upgrade --force "pynacl==0.3.0" + pip install --upgrade --force "pynacl==0.3.0" function_check matrix_nginx matrix_nginx