matrix config directories

This commit is contained in:
Bob Mottram 2016-12-30 22:23:38 +00:00
parent ae7c7fb8a2
commit 6b8fcd0248
1 changed files with 3 additions and 0 deletions

View File

@ -178,6 +178,9 @@ function matrix_configure_homeserver_yaml {
sed -i 's|no_tls: .*|no_tls: True|g' "${filepath}"
fi
sed -i 's|enable_registration_captcha.*|enable_registration_captcha: False|g' "${filepath}"
sed -i "s|database:.*|database: \"${MATRIX_DATA_DIR}/homeserver.db\"|g" "${filepath}"
sed -i "s|media_store_path:.*|media_store_path: \"${MATRIX_DATA_DIR}/media_store\"|g" "${filepath}"
sed -i "s|pid_file:.*|pid_file: \"${MATRIX_DATA_DIR}/homeserver.pid\"|g" "${filepath}"
}
function matrix_diff {