From 769d5ed9ba2c9617352c0b2294735383621face5 Mon Sep 17 00:00:00 2001 From: SeekDaSky Date: Wed, 4 Apr 2018 09:37:35 +0200 Subject: [PATCH] fix sql backup not working --- metactl/ci/env | 0 metactl/ci/web | 0 metactl/post-start.sh | 2 ++ virtual/vhost | 2 +- 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 metactl/ci/env create mode 100644 metactl/ci/web diff --git a/metactl/ci/env b/metactl/ci/env new file mode 100644 index 0000000..e69de29 diff --git a/metactl/ci/web b/metactl/ci/web new file mode 100644 index 0000000..e69de29 diff --git a/metactl/post-start.sh b/metactl/post-start.sh index 0fd4d65..f3a1576 100644 --- a/metactl/post-start.sh +++ b/metactl/post-start.sh @@ -17,6 +17,8 @@ echo -ne " * mariadb socket.."; docker exec $MARIADB_SERVICE mysql -uroot -p$MARIADB_ROOT_PASSWORD 2>/dev/null; DB_RESTORED="$?"; +sleep 5s; + # Try until connection OK while [ "$DB_RESTORED" == "1" ]; do sleep .5; diff --git a/virtual/vhost b/virtual/vhost index a4e56c8..32da513 160000 --- a/virtual/vhost +++ b/virtual/vhost @@ -1 +1 @@ -Subproject commit a4e56c8574d5a14d1b6341f2fe4ae9bcc752a371 +Subproject commit 32da5131b4c203bc0495f980a2d1cfc3ec15423c