agenda_culturel/deployment/scripts/wait-db.sh
2023-11-15 16:00:08 +01:00

8 lines
154 B
Bash

#!/usr/bin/env bash
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