doc: clarify command path requirements for exec

This commit is contained in:
Tim Gross
2019-09-25 15:56:15 -04:00
parent bb0d807042
commit a7923c3ed2

View File

@@ -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