Skip to content

Commit

Permalink
Remove mention of check_restart on service
Browse files Browse the repository at this point in the history
This is currently broken and should be removed from docs until a fix is
released.

See #3713
  • Loading branch information
schmichael committed Jan 4, 2018
1 parent 39e08eb commit 758b986
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions website/source/docs/job-specification/check_restart.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ As of Nomad 0.7 the `check_restart` stanza instructs Nomad when to restart
tasks with unhealthy service checks. When a health check in Consul has been
unhealthy for the `limit` specified in a `check_restart` stanza, it is
restarted according to the task group's [`restart` policy][restart_stanza]. The
`check_restart` settings apply to [`check`s][check_stanza], but may also be
placed on [`service`s][service_stanza] to apply to all checks on a service.
If `check_restart` is set on both the check and service, the stanzas are
merged with the check values taking precedence.
`check_restart` settings apply to [`check`s][check_stanza].

```hcl
job "mysql" {
Expand Down Expand Up @@ -149,4 +146,3 @@ details.

[check_stanza]: /docs/job-specification/service.html#check-parameters "check stanza"
[restart_stanza]: /docs/job-specification/restart.html "restart stanza"
[service_stanza]: /docs/job-specification/service.html "service stanza"

0 comments on commit 758b986

Please sign in to comment.