aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-elasticsearch/startup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-os-chef/sdc-elasticsearch/startup.sh')
-rw-r--r--sdc-os-chef/sdc-elasticsearch/startup.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/sdc-os-chef/sdc-elasticsearch/startup.sh b/sdc-os-chef/sdc-elasticsearch/startup.sh
index 6c9b0c0629..1871d685f6 100644
--- a/sdc-os-chef/sdc-elasticsearch/startup.sh
+++ b/sdc-os-chef/sdc-elasticsearch/startup.sh
@@ -3,7 +3,8 @@
cd /root/chef-solo/
chef-solo -c solo.rb -E ${ENVNAME}
-/docker-entrypoint.sh elasticsearch &
+chef_status=$?
-while true; do sleep 2; done
+/docker-entrypoint.sh elasticsearch &
+exec "$@"; \ No newline at end of file