diff --git a/bin/start b/bin/start index d7732ed8..c5c5a8e1 100755 --- a/bin/start +++ b/bin/start @@ -1,5 +1,5 @@ #!/bin/bash -if [ "$RAILS_ENV" = "production" ]; then +if [ "$RAILS_ENV" = "production" ] && [ "$DB_ADAPTER" = "postgresql" ]; then while ! curl http://$DB_HOST:${DB_PORT:-5432}/ 2>&1 | grep '52' do echo "Waiting for postgres to start up ..."