Simplify Redis health check
@@ -123,13 +123,8 @@ job "grapl-local-infra" {
check {
type = "script"
name = "check_redis"
- command = "/bin/bash"
- # Interpolated by bash, not nomad
- args = [
- "-o", "errexit", "-o", "nounset",
- "-c",
- "redis-cli ping || exit 1",
- ]
+ command = "redis-cli"
+ args = ["ping"]
interval = "20s"
timeout = "10s"
