mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-25 10:43:23 +00:00
Add until to hopefully stop race condition
This commit is contained in:
1 parent
a33aa7a2cb
commit
35a73025c7
1 file changed
+4
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
until mysqladmin ping --host mysql --silent; do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
|
||||||
# Wait for MySQL to warm-up
|
# Wait for MySQL to warm-up
|
||||||
while mysqladmin ping --host mysql --silent; do
|
while mysqladmin ping --host mysql --silent; do
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user