From c6d7fcf635b8cedf0ff43f6d4c167d9451db097b Mon Sep 17 00:00:00 2001 From: Jason Gilfoil Date: Thu, 29 Feb 2024 21:43:44 +0000 Subject: [PATCH] adjust prowlarr health-check script --- kubernetes/apps/media/prowlarr/app/configmap.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kubernetes/apps/media/prowlarr/app/configmap.yaml b/kubernetes/apps/media/prowlarr/app/configmap.yaml index 259c6790..6350d5e3 100644 --- a/kubernetes/apps/media/prowlarr/app/configmap.yaml +++ b/kubernetes/apps/media/prowlarr/app/configmap.yaml @@ -6,8 +6,7 @@ data: health-check.sh: | #!/bin/sh response=$(wget -q -O- http://localhost/ping | jq -r '.status') - if [ "$response" = "OK" ]; then - exit 0 - else + if [ "$response" != "OK" ]; then + echo "$response" exit 1 fi