mariadb.yml aktualisiert

This commit is contained in:
olli 2024-07-01 20:37:45 +02:00
parent 0738137393
commit a6b821534c

View File

@ -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