agenda_culturel/deployment/scripts/wait-db.sh

8 lines
154 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2023-11-15 12:01:35 +01:00
wait_for_it=$(dirname "$0")/wait-for-it.sh
chmod +x $wait_for_it
chmod +x $1
$wait_for_it -h $POSTGRES_HOST -p $POSTGRES_PORT -- $1