Create matrix config

This commit is contained in:
Bob Mottram 2016-12-30 18:06:23 +00:00
parent 79634e54a4
commit bcab0a806b
1 changed files with 2 additions and 4 deletions

View File

@ -103,10 +103,8 @@ function matrix_generate {
[[ "${REPORT_STATS}" != "yes" ]] && [[ "${REPORT_STATS}" != "no" ]] && \
echo "STOP! REPORT_STATS needs to be 'no' or 'yes'" && breakup="1"
matrix_generate_synapse_file ${MATRIX_DATA_DIR}/homeserver.tmp
matrix_configure_homeserver_yaml "${turnkey}" ${MATRIX_DATA_DIR}/homeserver.tmp
mv ${MATRIX_DATA_DIR}/homeserver.tmp ${MATRIX_DATA_DIR}/homeserver.yaml
matrix_generate_synapse_file ${MATRIX_DATA_DIR}/homeserver.yaml
matrix_configure_homeserver_yaml "${turnkey}" ${MATRIX_DATA_DIR}/homeserver.yaml
}
function remove_user_matrix {