Update website/pages/docs/job-specification/lifecycle.mdx

Co-authored-by: Tim Gross <tgross@hashicorp.com>
This commit is contained in:
Chris Baker 2020-12-18 14:30:44 -06:00 committed by GitHub
parent b5f4bb6bb6
commit e85f841d10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ Learn more about Nomad's task dependencies on the [HashiCorp Learn website][lear
- `hook` `(string: <required>)` - Specifies when a task should be run within
the lifecycle of a group. The following hooks are available:
- `prestart` - Will be started immediately. The main tasks will not start until
all `prestart` tasks with `sidecar == true` have completed successfully.
all `prestart` tasks with `sidecar = true` have completed successfully.
- `poststart` - Will be started once all main tasks are running.
- `poststop` - Will be started once all main tasks have stopped successfully
or exhausted their retries.