Disable matrix web client
This commit is contained in:
parent
197920ffae
commit
b0526a6eba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue