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