Closed jarro2783 closed 7 years ago
+1 this causes a long delay before consul-template stops or restarts. Adding kill_signal = "SIGTERM"
to config.json
resolves this issue.
This could be made configurable and the once configured value can be specified both in config.json
as well as the systemd service template eg.: KillSignal=SIGTERM
https://www.freedesktop.org/software/systemd/man/systemd.kill.html#
Apologies for the delay here, this has been fixed in #94.
I think the latest version of consul template changed its default kill signal. From the docs:
It seems like SIGTERM is ignored, which systemd tries to send when stopping the consul template service, and then sends SIGKILL 90 seconds later to kill it.
Can the puppet module either change the default or change the kill signal in the systemd unit file?