Skip to content

Instantly share code, notes, and snippets.

@schmichael
Last active July 7, 2023 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schmichael/ccbf94972da8a7f72a894e8609fbcde2 to your computer and use it in GitHub Desktop.
Save schmichael/ccbf94972da8a7f72a894e8609fbcde2 to your computer and use it in GitHub Desktop.
job "example" {
type = "batch"
task t {
driver = "exec"
config {
command = "/bin/sh"
args = ["-c", "echo '>> /proc'; grep ^Cap /proc/self/status; echo '>> getpcaps'; getpcaps 0; echo '>> prlimit'; prlimit"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment