From c564811e799b0ced0584ece6381300dfeaa0185f Mon Sep 17 00:00:00 2001 From: Chris Baker <1675087+cgbaker@users.noreply.github.com> Date: Thu, 2 Apr 2020 11:43:10 -0500 Subject: [PATCH] update `restart` documentation #7288 added support for task-specific `restart` policy. this PR updates the docs to reflect that. --- website/pages/docs/job-specification/restart.mdx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/website/pages/docs/job-specification/restart.mdx b/website/pages/docs/job-specification/restart.mdx index 5fc6a2b65f0..62972f2997c 100644 --- a/website/pages/docs/job-specification/restart.mdx +++ b/website/pages/docs/job-specification/restart.mdx @@ -7,10 +7,16 @@ description: The "restart" stanza configures a group's behavior on task failure. # `restart` Stanza - - -The `restart` stanza configures a group's behavior on task failure. Restarts -happen on the client that is running the task. + + +The `restart` stanza configures a tasks's behavior on task failure. Restarts +happen on the client that is running the task. If specified at the group level, +the configuration will apply to all tasks within the group. ```hcl job "docs" {