Skip to content
Snippets Groups Projects
Commit b0526a6e authored by Bob Mottram's avatar Bob Mottram
Browse files

Disable matrix web client

parent 197920ff
No related branches found
No related tags found
No related merge requests found
......@@ -643,7 +643,11 @@ function install_home_server {
exit 783724
fi
# Disable the web client
sed -i 's|web_client:.*|web_client: False|g' $MATRIX_DATA_DIR/homeserver.yaml
if ! grep "#- webclient" $MATRIX_DATA_DIR/homeserver.yaml; then
sed -i 's|- webclient.*|#- webclient|g' $MATRIX_DATA_DIR/homeserver.yaml
fi
chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
chown -R matrix:matrix /etc/matrix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment