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

Fix matrix config

parent c2c62743
No related branches found
No related tags found
No related merge requests found
......@@ -630,6 +630,9 @@ function install_home_server {
sed -i 's|web_client:.*|web_client: False|g' $MATRIX_DATA_DIR/homeserver.yaml
sed -i 's|, webclient||g' $MATRIX_DATA_DIR/homeserver.yaml
sed -i "/- '0.0.0.0'/d" $MATRIX_DATA_DIR/homeserver.yaml
if ! grep -q "# - '::'" $MATRIX_DATA_DIR/homeserver.yaml; then
sed -i "s| - '::'|# - '::'|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