blob: c779e3796dd6121daa54d234409da749f3bf1884 [file] [log] [blame]
#!/bin/bash
cd /root/chef-solo
chef-solo -c solo.rb -o recipe[cassandra-actions::01-configureCassandra] -E ${ENVNAME}
rc=$?
if [[ $rc != 0 ]]; then exit $rc; fi
echo "########### starting cassandra ###########"
/docker-entrypoint.sh cassandra -f &
chef-solo -c solo.rb -E ${ENVNAME}
rc=$?
if [[ $rc != 0 ]]; then exit $rc; fi
while true; do sleep 30; done