github.com/bigcommerce/nomad@v0.9.3-bc/e2e/rescheduling/input/rescheduling_default.hcl (about)

     1  job "test" {
     2    datacenters = ["dc1"]
     3    type        = "service"
     4  
     5    group "t" {
     6      count = 3
     7  
     8      task "t" {
     9        driver = "raw_exec"
    10  
    11        config {
    12          command = "bash"
    13          args    = ["-c", "lol 5000"]
    14        }
    15      }
    16  
    17      restart {
    18        attempts = 0
    19        delay    = "0s"
    20        mode     = "fail"
    21      }
    22    }
    23  }