Fix race condition with workaround
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