@@ -164,6 +164,7 @@ function matrix_nginx {
if [ $matrix_changed ]; then
systemctl restart nginx
+ # wait for nginx to start otherwise user add fails later
sleep 5
fi