Add user after config
This commit is contained in:
parent
e478d0d0a2
commit
79634e54a4
|
@ -317,9 +317,6 @@ function install_matrix {
|
||||||
exit 782542
|
exit 782542
|
||||||
fi
|
fi
|
||||||
|
|
||||||
groupadd matrix
|
|
||||||
useradd -c "Matrix system account" -d /var/lib/matrix -m -r -g matrix matrix
|
|
||||||
|
|
||||||
function_check install_turn
|
function_check install_turn
|
||||||
install_turn
|
install_turn
|
||||||
MATRIX_SECRET="${turnkey}"
|
MATRIX_SECRET="${turnkey}"
|
||||||
|
@ -332,6 +329,9 @@ function install_matrix {
|
||||||
exit 783724
|
exit 783724
|
||||||
fi
|
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 /etc/matrix
|
||||||
chown -R matrix:matrix /var/lib/matrix
|
chown -R matrix:matrix /var/lib/matrix
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue