mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-23 14:13:43 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
077201cd18 | ||
|
|
eeaf59dc6f | ||
|
|
88fe0d6411 |
@@ -1,3 +1,9 @@
|
|||||||
|
## 3.7.7 2023-03-20 <codemonium@github>
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Simplify pg_isready usage
|
||||||
|
|
||||||
|
|
||||||
## 3.7.6 2023-03-14 <toshy@github>
|
## 3.7.6 2023-03-14 <toshy@github>
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -437,8 +437,7 @@ check_availability() {
|
|||||||
;;
|
;;
|
||||||
"pgsql" )
|
"pgsql" )
|
||||||
counter=0
|
counter=0
|
||||||
export PGPASSWORD=${DB_PASS}
|
until pg_isready --host=${DB_HOST} --port=${DB_PORT} -q
|
||||||
until pg_isready --dbname=${DB_NAME} --host=${DB_HOST} --port=${DB_PORT} --username=${DB_USER} -q
|
|
||||||
do
|
do
|
||||||
sleep 5
|
sleep 5
|
||||||
(( counter+=5 ))
|
(( counter+=5 ))
|
||||||
|
|||||||
Reference in New Issue
Block a user