1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-12 10:45:14 +02:00

Fix race condition with workaround

This commit is contained in:
andryyy 2017-06-13 07:39:26 +02:00
parent 35a73025c7
commit fcfc119805
2 changed files with 1 additions and 5 deletions

View File

@ -1,9 +1,5 @@
#!/bin/bash
until mysqladmin ping --host mysql --silent; do
sleep 1
done
# Wait for MySQL to warm-up
while mysqladmin ping --host mysql --silent; do

View File

@ -8,7 +8,7 @@ autostart=true
stdout_syslog=true
[program:sogo]
command=/usr/sbin/sogod
command=sh -c "sleep 3; /usr/sbin/sogod"
user=sogo
autorestart=true
priority=20