From 73a4a4620dcaa1d9eb75b162f8ca41d00454d01c Mon Sep 17 00:00:00 2001 From: Chelsea Holland Komlo Date: Thu, 7 Dec 2017 12:33:05 -0500 Subject: [PATCH] add documention --- website/source/docs/job-specification/task.html.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/source/docs/job-specification/task.html.md b/website/source/docs/job-specification/task.html.md index a61590ab3..e2a3a8910 100644 --- a/website/source/docs/job-specification/task.html.md +++ b/website/source/docs/job-specification/task.html.md @@ -54,6 +54,11 @@ job "docs" { [`max_kill_timeout`][max_kill] on the agent running the task, which has a default value of 30 seconds. +- `kill_signal` `(string)` - Specifies a configurable kill signal for a task, + where the default is SIGINT. Note tha this is only supported for drivers + which accept sending signals (currently docker, exec, raw_exec, and java + drivers). + - `leader` `(bool: false)` - Specifies whether the task is the leader task of the task group. If set to true, when the leader task completes, all other tasks within the task group will be gracefully shutdown.