mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
fixes #87
This commit is contained in:
parent
e46353cee8
commit
45e39d04ae
1 changed files with 2 additions and 1 deletions
|
|
@ -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 ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue