Commit f856cd4c authored by Tim Gross's avatar Tim Gross
Browse files

script checks: use cat instead of ls for exit code agreement

parent 863339d6
Showing with 2 additions and 2 deletions
+2 -2
......@@ -45,7 +45,7 @@ job "group_check" {
task = "test"
interval = "2s"
timeout = "2s"
command = "ls"
command = "cat"
args = ["${NOMAD_TASK_DIR}/alive-2b"]
}
}
......
......@@ -39,7 +39,7 @@ job "task_check" {
type = "script"
interval = "2s"
timeout = "2s"
command = "ls"
command = "cat"
args = ["${NOMAD_TASK_DIR}/alive-2b"]
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment