github.com/taylorchu/nomad@v0.5.3-rc1.0.20170407200202-db11e7dd7b55/jobspec/test-fixtures/service-check-initial-status.hcl (about)

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