Update artifact example in init command

This commit is contained in:
Seth Vargo 2016-10-30 21:27:25 -04:00
parent 7c441e6d3c
commit 2f050a535d
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
1 changed files with 11 additions and 3 deletions

View File

@ -168,9 +168,17 @@ job "example" {
}
}
# The artifact stanza can be specified one or more times to download
# artifacts prior to the task being started. This is convenient for
# shipping configs or data needed by the task.
# The "artifact" stanza instructs Nomad to download an artifact from a
# remote source prior to starting the task. This provides a convenient
# mechanism for downloading configuration files or data needed to run the
# task. It is possible to specify the "artifact" stanza multiple times to
# download multiple artifacts.
#
# For more information and examples on the "artifact" stanza, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/artifact.html
#
# artifact {
# source = "http://foo.com/artifact.tar.gz"
# options {