github.com/mattyr/nomad@v0.3.3-0.20160919021406-3485a065154a/jobspec/test-fixtures/service-check-initial-status.hcl (about)

     1  job "check_initial_status" {
     2  
     3      type = "service"
     4      group "group" {
     5          count = 1
     6  
     7          task "task" {
     8            service {
     9              tags = ["foo", "bar"]
    10              port = "http"
    11  
    12              check {
    13                name     = "check-name"
    14                type     = "http"
    15                interval = "10s"
    16                timeout  = "2s"
    17                initial_status = "passing"
    18              }
    19            }
    20          }
    21      }
    22  }
    23