Upgrade in a different place

This commit is contained in:
Bob Mottram 2016-12-31 14:34:21 +00:00
parent b7873b29ae
commit 86487b69ef
1 changed files with 5 additions and 1 deletions

View File

@ -324,6 +324,9 @@ function upgrade_matrix {
chown -R matrix:matrix /etc/matrix
chown -R matrix:matrix /etc/sydent
chown -R matrix:matrix $MATRIX_DATA_DIR
systemctl restart turn
systemctl restart matrix
}
function backup_local_matrix {
@ -634,7 +637,6 @@ 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
@ -645,6 +647,8 @@ function install_matrix {
function_check update_default_domain
update_default_domain
pip install --upgrade --force "pynacl==0.3.0"
function_check matrix_nginx
matrix_nginx