Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save douglasmiranda/7f2b5ca65b3aa108d9360feb2fa9f0ed to your computer and use it in GitHub Desktop.
Save douglasmiranda/7f2b5ca65b3aa108d9360feb2fa9f0ed to your computer and use it in GitHub Desktop.
Logging postgres is up
while ! pg_isready > /dev/null 2> /dev/null; do echo "Connecting to postgres failed"; sleep 1; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment