From 216d61257c32e386ca6df60a1dfc967f1a00b606 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 5 Oct 2021 09:56:19 +0200
Subject: [PATCH] L2SS-391: Wait for dsconfig to be up

---
 docker-compose/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docker-compose/Makefile b/docker-compose/Makefile
index 50c7c8279..0bb1e053c 100644
--- a/docker-compose/Makefile
+++ b/docker-compose/Makefile
@@ -151,7 +151,8 @@ endif
 bootstrap: pull build # first start, initialise from scratch
 	$(MAKE) start elk-configure-host # configure host kernel for elk container
 	$(MAKE) start dsconfig # boot up containers to load configurations
-	../sbin/update_ConfigDb.sh ../CDB/LOFAR-ConfigDb.sh
+	sleep 5 # wait for dsconfig container to come up
+	../sbin/update_ConfigDb.sh ../CDB/LOFAR-ConfigDb.sh # load default configuration
 
 start: up ## start a service (usage: make start <servicename>)
 	if [ $(UNAME_S) = Linux ]; then touch ~/.Xauthority; chmod a+r ~/.Xauthority; fi
-- 
GitLab