From 8bbd067efccde88a086a1ec4b47d47dcf5d7cb41 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 31 Dec 2016 14:40:46 +0000 Subject: [PATCH] sleep --- src/freedombone-app-matrix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 550a8019..340aadf9 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -174,6 +174,9 @@ function matrix_nginx { systemctl restart turn systemctl restart matrix systemctl restart sydent + + # wait for nginx to start otherwise user add fails later + sleep 5 } function matrix_generate_homeserver_file {