fix sql backup not working
This commit is contained in:
parent
e2ff51accd
commit
769d5ed9ba
|
@ -17,6 +17,8 @@ echo -ne " * mariadb socket..";
|
||||||
docker exec $MARIADB_SERVICE mysql -uroot -p$MARIADB_ROOT_PASSWORD 2>/dev/null;
|
docker exec $MARIADB_SERVICE mysql -uroot -p$MARIADB_ROOT_PASSWORD 2>/dev/null;
|
||||||
DB_RESTORED="$?";
|
DB_RESTORED="$?";
|
||||||
|
|
||||||
|
sleep 5s;
|
||||||
|
|
||||||
# Try until connection OK
|
# Try until connection OK
|
||||||
while [ "$DB_RESTORED" == "1" ]; do
|
while [ "$DB_RESTORED" == "1" ]; do
|
||||||
sleep .5;
|
sleep .5;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit a4e56c8574d5a14d1b6341f2fe4ae9bcc752a371
|
Subproject commit 32da5131b4c203bc0495f980a2d1cfc3ec15423c
|
Loading…
Reference in New Issue