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:
parent
35a73025c7
commit
fcfc119805
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user