fix: wait for imgproxy compat health on release
This commit is contained in:
@@ -54,4 +54,8 @@ launchctl bootout "$GUI/cn.tkmind.imgproxy-compat" 2>/dev/null || true
|
||||
launchctl bootstrap "$GUI" "$PLIST"
|
||||
launchctl enable "$GUI/cn.tkmind.imgproxy-compat"
|
||||
launchctl kickstart -k "$GUI/cn.tkmind.imgproxy-compat"
|
||||
for _ in $(seq 1 20); do
|
||||
curl -fsS --max-time 2 http://10.10.0.2:20081/health >/dev/null && break
|
||||
sleep 1
|
||||
done
|
||||
curl -fsS --max-time 3 http://10.10.0.2:20081/health >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user