mirror of
https://github.com/linuxserver/docker-jellyfin.git
synced 2025-10-26 18:53:39 +09:00
Fix check logic
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
PORT=$(xmlstarlet sel -T -t -v /NetworkConfiguration/HttpServerPortNumber /config/network.xml)
|
||||
|
||||
if [[ $(curl -sL "http://localhost:${PORT:-8096}/health" | jq -r '.status' 2>/dev/null) = "Healthy" ]]; then
|
||||
if [[ $(curl -sL "http://localhost:${PORT:-8096}/health" 2>/dev/null) = "Healthy" ]]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user