aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/docker/elasticsearch/my-entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/docker/elasticsearch/my-entrypoint.sh')
-rw-r--r--src/main/docker/elasticsearch/my-entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/docker/elasticsearch/my-entrypoint.sh b/src/main/docker/elasticsearch/my-entrypoint.sh
new file mode 100644
index 00000000..9eee64e0
--- /dev/null
+++ b/src/main/docker/elasticsearch/my-entrypoint.sh
@@ -0,0 +1,8 @@
+source init_sg.sh
+
+while [ $? -ne 0 ]; do
+ sleep 10
+ source init_sg.sh
+done &
+
+/bin/bash -c "source /usr/local/bin/docker-entrypoint.sh;"