diff options
Diffstat (limited to 'sdc-os-chef/sdc-cassandra/startup.sh')
-rwxr-xr-x | sdc-os-chef/sdc-cassandra/startup.sh | 3 |
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 "$@"; |