|
|
|
|
643
|
exit 783724
|
643
|
exit 783724
|
644
|
fi
|
644
|
fi
|
645
|
|
645
|
|
|
|
646
|
+ # Disable the web client
|
646
|
sed -i 's|web_client:.*|web_client: False|g' $MATRIX_DATA_DIR/homeserver.yaml
|
647
|
sed -i 's|web_client:.*|web_client: False|g' $MATRIX_DATA_DIR/homeserver.yaml
|
|
|
648
|
+ if ! grep "#- webclient" $MATRIX_DATA_DIR/homeserver.yaml; then
|
|
|
649
|
+ sed -i 's|- webclient.*|#- webclient|g' $MATRIX_DATA_DIR/homeserver.yaml
|
|
|
650
|
+ fi
|
647
|
|
651
|
|
648
|
chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
|
652
|
chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
|
649
|
chown -R matrix:matrix /etc/matrix
|
653
|
chown -R matrix:matrix /etc/matrix
|