Add user after config
This commit is contained in:
parent
e478d0d0a2
commit
79634e54a4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue