From 6132656daf6f5ae6d11204ecb982ec5d42b4415d Mon Sep 17 00:00:00 2001 From: Gustavo Trott Date: Thu, 14 Sep 2023 10:41:40 -0300 Subject: [PATCH] Avoid applying metadata before Hasura is ready --- build/packages-template/bbb-graphql-server/after-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/packages-template/bbb-graphql-server/after-install.sh b/build/packages-template/bbb-graphql-server/after-install.sh index 2afd8afcb4d0..17286835fb64 100755 --- a/build/packages-template/bbb-graphql-server/after-install.sh +++ b/build/packages-template/bbb-graphql-server/after-install.sh @@ -27,6 +27,7 @@ case "$1" in systemctl enable bbb-graphql-server.service systemctl daemon-reload startService bbb-graphql-server || echo "bbb-graphql-server service could not be registered or started" + sleep 2 #Avoid applying metadata before Hasura is ready # Apply BBB metadata in Hasura cd /usr/share/bbb-graphql-server