We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c250de7 commit 31325c1Copy full SHA for 31325c1
assets/build/install.sh
@@ -431,8 +431,9 @@ EOF
431
cat > /usr/local/sbin/healthcheck <<EOF
432
#!/bin/bash
433
url=http://localhost/-/liveness
434
-curl -s \$url
435
-[[ "\$(curl -s -o /dev/null -I -w '%{http_code}' \$url)" == "200" ]]
+options=( '--insecure' '--location' '--silent' )
+curl "\${options[@]}" \$url
436
+[[ "\$(curl \${options[@]} -o /dev/null -I -w '%{http_code}' \$url)" == "200" ]]
437
EOF
438
chmod +x /usr/local/sbin/healthcheck
439
0 commit comments