mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	fixes #87
This commit is contained in:
		| @@ -23,8 +23,9 @@ wait_for_postgres() { | |||||||
| 	echo "Waiting for PostgreSQL to start..." | 	echo "Waiting for PostgreSQL to start..." | ||||||
|  |  | ||||||
| 	host="${PAPERLESS_DBHOST}" | 	host="${PAPERLESS_DBHOST}" | ||||||
|  | 	port="${PAPERLESS_DBPORT}" | ||||||
|  |  | ||||||
| 	while !</dev/tcp/$host/5432 ; | 	while !</dev/tcp/$host/$port ; | ||||||
| 	do | 	do | ||||||
|  |  | ||||||
| 		if [ $attempt_num -eq $max_attempts ] | 		if [ $attempt_num -eq $max_attempts ] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler