Created
August 13, 2021 22:29
-
-
Save schmichael/3a58a33d55b63142a9d146146dece42e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
job "workdir" { | |
type = "batch" | |
datacenters = ["dc1"] | |
task "workdir" { | |
driver = "exec" | |
config { | |
work_dir = "/etc" | |
command = "/usr/bin/pwd" | |
#args = ["-c", "echo hello world && pwd"] | |
} | |
resources { | |
cpu = 2 | |
memory = 100 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment