This commit is contained in:
jonaswinkler 2020-12-06 01:37:44 +01:00
parent e46353cee8
commit 45e39d04ae

View File

@ -23,8 +23,9 @@ wait_for_postgres() {
echo "Waiting for PostgreSQL to start..."
host="${PAPERLESS_DBHOST}"
port="${PAPERLESS_DBPORT}"
while !</dev/tcp/$host/5432 ;
while !</dev/tcp/$host/$port ;
do
if [ $attempt_num -eq $max_attempts ]