aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-elasticsearch
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2018-01-29 17:24:56 +0200
committerMichael Lando <ml636r@att.com>2018-01-29 17:22:07 +0000
commitf19275991fb42792c0db209aac66acb63f731a77 (patch)
tree4ca71a85cede596bdea27909993d49d1fcf60d8a /sdc-os-chef/sdc-elasticsearch
parentacd7ec01fb7a388324f95e46a34cb62db7eefacf (diff)
ES OOM alignment
Change-Id: I798502516a4b9200243ed072985faa9f528f2073 Issue-ID: SDC-912 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'sdc-os-chef/sdc-elasticsearch')
-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