Wait until MariaDB is actually started
This commit is contained in:
parent
8a50e772e4
commit
8a4d5102a2
@ -24,4 +24,5 @@ rc-update add mariadb boot
|
|||||||
service mariadb start
|
service mariadb start
|
||||||
|
|
||||||
# Configure MariaDB admin
|
# Configure MariaDB admin
|
||||||
|
docker exec -i mariadb sh -c 'until [ -x /run/mysqld/mysqld.sock ]; do usleep 100000; done'
|
||||||
cat ${SOURCE_DIR}/adminpwd.sql | docker exec -i mariadb mysql
|
cat ${SOURCE_DIR}/adminpwd.sql | docker exec -i mariadb mysql
|
||||||
|
Loading…
Reference in New Issue
Block a user