Sha256: 0cfeee3da3fbb74431aa3abe17e5e3a7ecbc188e85fb3655b0367c8c9d82fbc3
Contents?: true
Size: 255 Bytes
Versions: 60
Compression:
Stored size: 255 Bytes
Contents
#!/bin/bash cmd="$@" echo "=> Waiting for postgres" until PGPASSWORD=$DATABASE_PASSWORD psql -h "$DATABASE_HOST" -U "$DATABASE_USER" -c '\q' > /dev/null 2>&1; do echo "=> Waiting for Postgres..." sleep 1 done echo "=> Postgres is ready" exec $cmd
Version data entries
60 entries across 60 versions & 1 rubygems