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

Ensure that matrix server name is correct

parent 00eb6fb8
No related branches found
No related tags found
No related merge requests found
......@@ -970,6 +970,12 @@ function install_matrix {
increment_app_install_progress
if [[ "$ONION_ONLY" == 'no' ]]; then
sed -i "s|server_name: .*|server_name: \"${MATRIX_DOMAIN_NAME}\"|g" ${MATRIX_DATA_DIR}/homeserver.yaml
else
sed -i "s|server_name: .*|server_name: \"${MATRIX_ONION_HOSTNAME}\"|g" ${MATRIX_DATA_DIR}/homeserver.yaml
fi
systemctl restart matrix
matrix_wait_for_database
......
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