|
@@ -103,6 +103,9 @@ function matrix_generate {
|
103
|
103
|
[[ "${REPORT_STATS}" != "yes" ]] && [[ "${REPORT_STATS}" != "no" ]] && \
|
104
|
104
|
echo "STOP! REPORT_STATS needs to be 'no' or 'yes'" && breakup="1"
|
105
|
105
|
|
|
106
|
+ if [ -f ${MATRIX_DATA_DIR}/homeserver.yaml ]; then
|
|
107
|
+ rm ${MATRIX_DATA_DIR}/homeserver.yaml
|
|
108
|
+ fi
|
106
|
109
|
matrix_generate_synapse_file ${MATRIX_DATA_DIR}/homeserver.yaml
|
107
|
110
|
matrix_configure_homeserver_yaml "${turnkey}" ${MATRIX_DATA_DIR}/homeserver.yaml
|
108
|
111
|
}
|