job "raw_exec" { datacenters = ["dc1"] type = "batch" constraint { attribute = "${attr.kernel.name}" value = "linux" } group "raw_exec" { task "raw_exec" { driver = "raw_exec" config { command = "bash" args = [ "-c", "local/pid.sh" ] } template { data = <