summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-elasticsearch/startup.sh
blob: 3c2cc4c229d706f842b532eae0ffe2710311066a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

cd /root/chef-solo/
chef-solo -c solo.rb -E ${ENVNAME}

rc=$?
if [[ $rc != 0 ]]; then exit $rc; fi

/docker-entrypoint.sh elasticsearch &

while true; do sleep 30; done