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