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

Matrix mods

parent dfccc080
No related branches found
No related tags found
No related merge requests found
......@@ -235,7 +235,7 @@ function matrix_configure_homeserver_yaml {
mv ${ymltemp} "${filepath}"
sed -i 's|no_tls: .*|no_tls: False|g' "${filepath}"
sed -i 's| tls: .*| tls: True|g' "${filepath}"
sed -i ':a;N;$!ba;s/ tls: [^\n]*/ tls: False/2' "${filepath}"
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}"
......@@ -665,6 +665,7 @@ function install_home_server {
groupadd matrix
useradd -c "Matrix system account" -d $MATRIX_DATA_DIR -m -r -g matrix matrix
usermod -a -G www-data matrix
function_check install_turn
install_turn
......
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