Longer sleep

This commit is contained in:
Bob Mottram 2016-12-31 13:35:03 +00:00
parent f1edaf09ba
commit 9622e848e4
1 changed files with 1 additions and 2 deletions

View File

@ -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"
}