From a7923c3ed285314cd01a7ca3158ce510b498fa17 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Wed, 25 Sep 2019 15:56:15 -0400 Subject: [PATCH] doc: clarify command path requirements for exec --- website/source/docs/drivers/exec.html.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/website/source/docs/drivers/exec.html.md b/website/source/docs/drivers/exec.html.md index 2afd7092d..2ce838433 100644 --- a/website/source/docs/drivers/exec.html.md +++ b/website/source/docs/drivers/exec.html.md @@ -32,9 +32,10 @@ task "webservice" { The `exec` driver supports the following configuration in the job spec: * `command` - The command to execute. Must be provided. If executing a binary - that exists on the host, the path must be absolute. If executing a binary that - is downloaded from an [`artifact`](/docs/job-specification/artifact.html), the - path can be relative from the allocations's root directory. + that exists on the host, the path must be absolute and within the task's + [chroot](exec.html#chroot). If executing a binary that is downloaded from + an [`artifact`](/docs/job-specification/artifact.html), the path can be + relative from the allocations's root directory. * `args` - (Optional) A list of arguments to the `command`. References to environment variables or any [interpretable Nomad