aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorHarald Musum <musum@oath.com>2017-09-25 08:51:24 +0200
committerHarald Musum <musum@oath.com>2017-09-25 08:51:24 +0200
commit47f019d4f5b10e425ae4042c6e4d49e9538e62ca (patch)
tree5b6d3edcf66413ecd201daa173b09078ea1d521c /docker
parenta8d6f5c76bb7e9b18bcc16f6dd8f4e9b09d2ba4f (diff)
Give config server some time to come up before starting services
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/run/run-vespa-internal.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/run/run-vespa-internal.sh b/docker/run/run-vespa-internal.sh
index 074c1887394..dce0d4dff97 100755
--- a/docker/run/run-vespa-internal.sh
+++ b/docker/run/run-vespa-internal.sh
@@ -17,6 +17,8 @@ chown -R vespa:vespa /opt/vespa
export VESPA_CONFIG_SERVERS=$(hostname)
/opt/vespa/bin/vespa-start-configserver
+# Give config server some time to come up before starting services
+sleep 5
/opt/vespa/bin/vespa-start-services
# Print log forever