Longer sleep
This commit is contained in:
parent
f1edaf09ba
commit
9622e848e4
|
@ -173,7 +173,7 @@ function matrix_nginx {
|
|||
systemctl restart nginx
|
||||
|
||||
# wait for nginx to start otherwise user add fails later
|
||||
sleep 5
|
||||
sleep 10
|
||||
}
|
||||
|
||||
function matrix_generate_homeserver_file {
|
||||
|
@ -285,7 +285,6 @@ function add_user_matrix {
|
|||
|
||||
${PROJECT_NAME}-pass -u $new_username -a matrix -p "$new_user_password"
|
||||
|
||||
matrix_nginx
|
||||
retval=$(register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml -u "${new_username}" -p "${new_user_password}" -a)
|
||||
echo "0"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue