mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
While waiting for the agent to leave during a graceful shutdown the wait can be interrupted immediately if another signal is received. It is common that while waiting a `SIGPIPE` is received from journald causing the wait to end early. This results in the agent not finishing the leave process and reporting an error when the process has stopped. Instead of allowing any signal to interrupt the wait, the signal is checked for a `SIGPIPE` and if matched will continue waiting.
4 lines
117 B
Plaintext
4 lines
117 B
Plaintext
```release-note:bug
|
|
agent: Fixed bug where agent would exit early from graceful shutdown when managed by systemd
|
|
```
|