summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-cassandra/startup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-os-chef/sdc-cassandra/startup.sh')
-rwxr-xr-xsdc-os-chef/sdc-cassandra/startup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdc-os-chef/sdc-cassandra/startup.sh b/sdc-os-chef/sdc-cassandra/startup.sh
index 0daa82ff88..c583876e2d 100755
--- a/sdc-os-chef/sdc-cassandra/startup.sh
+++ b/sdc-os-chef/sdc-cassandra/startup.sh
@@ -10,7 +10,8 @@ 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
-exec "$@";