Add user after config

This commit is contained in:
Bob Mottram 2016-12-30 17:46:04 +00:00
parent e478d0d0a2
commit 79634e54a4
1 changed files with 3 additions and 3 deletions

View File

@ -317,9 +317,6 @@ function install_matrix {
exit 782542
fi
groupadd matrix
useradd -c "Matrix system account" -d /var/lib/matrix -m -r -g matrix matrix
function_check install_turn
install_turn
MATRIX_SECRET="${turnkey}"
@ -332,6 +329,9 @@ function install_matrix {
exit 783724
fi
groupadd matrix
useradd -c "Matrix system account" -d /var/lib/matrix -m -r -g matrix matrix
chown -R matrix:matrix /etc/matrix
chown -R matrix:matrix /var/lib/matrix