Here is my job file
job “docs” {
datacenters = [“dc1”]
type = "batch"
group "docs" {
count = 1
task "script"{
driver = "raw_exec"
config {
command = "/bin/bash"
args = ["-c", "/vagrant/run.sh"]
}
}
}
}
Here i guess the raw_exec driver must be enabled in plugin. So do I have to make a separate plugin.hcl for it? Where should i addthe config for the plugin
data_dir = “/tmp/server/plugins”
plugin “raw_exec” {
config {
enabled = true
}
}