This commit is contained in:
parent
f1080771d0
commit
0e60c29029
@ -6,8 +6,8 @@ set -eo
|
||||
|
||||
if [ -n "$BITWARDENRS_DATABASE_URL" ]
|
||||
then
|
||||
WAITFOR_HOST=$(/usr/local/bin/url-parse host --url "$BITWARDENRS_DATABASE_URL")
|
||||
WAITFOR_PORT=$(/usr/local/bin/url-parse port --url "$BITWARDENRS_DATABASE_URL")
|
||||
WAITFOR_HOST=$(/usr/local/bin/url-parser host --url "$BITWARDENRS_DATABASE_URL")
|
||||
WAITFOR_PORT=$(/usr/local/bin/url-parser port --url "$BITWARDENRS_DATABASE_URL")
|
||||
|
||||
printf "Wait for database server ...\n"
|
||||
/usr/local/bin/wait-for "${WAITFOR_HOST}":"${WAITFOR_PORT:-5432}"
|
||||
|
Loading…
Reference in New Issue
Block a user