From 0b0d1b59b9f732317a75015ac850248ee61a3e40 Mon Sep 17 00:00:00 2001 From: Bill Sideris Date: Sat, 18 Jun 2022 17:21:41 +0300 Subject: [PATCH] update it to check for login 200 --- DockerHealthcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DockerHealthcheck.sh b/DockerHealthcheck.sh index 6c0765768..0dd14d5b6 100755 --- a/DockerHealthcheck.sh +++ b/DockerHealthcheck.sh @@ -1,5 +1,5 @@ #!/bin/sh -if wget --spider -S "127.0.0.1:8080" 2>&1 | grep -w "302" ; then +if wget --spider -S "127.0.0.1:8080/login" 2>&1 | grep -w "200" ; then exit 0 else exit 1