STOPSIGNAL
This commit is contained in:
parent
f002ba29d1
commit
dc8d7ad23d
|
@ -36,7 +36,9 @@ job "docs" {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Please note that the behavior is subtly different for Docker-based tasks. In
|
The behavior is slightly different for Docker-based tasks. Nomad will run the
|
||||||
this case a `docker stop` command is issued that will send a `SIGTERM` to your
|
`docker stop` command with the specified `kill_timeout`. The signal that `docker
|
||||||
container entry point instead. The `kill_timeout` option is still respected
|
stop` sends to your container entrypoint is configurable using the
|
||||||
though.
|
[`STOPSIGNAL` configuration directive]
|
||||||
|
(https://docs.docker.com/engine/reference/builder/#stopsignal), however please
|
||||||
|
note that the default is `SIGTERM`.
|
||||||
|
|
Loading…
Reference in a new issue