diff --git a/website/source/docs/job-specification/restart.html.md b/website/source/docs/job-specification/restart.html.md index 967fd033b..e3c109727 100644 --- a/website/source/docs/job-specification/restart.html.md +++ b/website/source/docs/job-specification/restart.html.md @@ -47,7 +47,7 @@ job "docs" { controlled by `mode`. This is specified using a label suffix like "30s" or "1h". Defaults vary by job type, see below for more information. -- `mode` `(string: "delay")` - Controls the behavior when the task fails more +- `mode` `(string: "fail")` - Controls the behavior when the task fails more than `attempts` times in an interval. For a detailed explanation of these values and their behavior, please see the [mode values section](#mode-values). @@ -95,4 +95,5 @@ restart { - `"fail"` - Instructs the scheduler to not attempt to restart the task on failure. This mode is useful for non-idempotent jobs which are unlikely to - succeed after a few failures. + succeed after a few failures. Failed jobs will be restarted according to + the [`reschedule`](/docs/job-specification/reschedule.html) stanza.