diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 98be0205..7c06c281 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -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" }