mariadb.yml aktualisiert
This commit is contained in:
parent
0738137393
commit
a6b821534c
@ -59,12 +59,12 @@
|
||||
then
|
||||
# start mariadb if not initialized and down
|
||||
notinitilized=""
|
||||
[ -s "db-data/mysql_upgrade_info" ] || notinitilized=1
|
||||
[ -s "db-data/mariadb_upgrade_info" ] || notinitilized=1
|
||||
if [ -n "$notinitilized" ]
|
||||
then
|
||||
docker compose up -d mariadb.{{inventory_hostname}}
|
||||
# get sure mariadb is ready with initializing
|
||||
until [ -s "db-data/mysql_upgrade_info" ]
|
||||
until [ -s "db-data/mariadb_upgrade_info" ]
|
||||
do
|
||||
sleep 5
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user