Matrix dependency

This commit is contained in:
Bob Mottram 2016-12-31 13:51:00 +00:00
parent 9622e848e4
commit 8f2ba8a5f3
1 changed files with 3 additions and 0 deletions

View File

@ -230,6 +230,8 @@ function matrix_configure_homeserver_yaml {
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}"
sed -i "s|log_file:.*|log_file: \"/dev/null\"|g" "${filepath}"
sed -i '0,/bind_address:.*/s//bind_address: 127.0.0.1/' "${filepath}"
sed -i '0,/x_forwarded:.*/s//x_forwarded: true/' "${filepath}"
}
function matrix_configure_identityserver {
@ -625,6 +627,7 @@ function install_matrix {
pip install --upgrade pip
pip install --upgrade python-ldap
pip install --upgrade lxml
pip install --upgrade --force "pynacl==0.3.0"
function_check install_home_server
install_home_server