From e0da360b5343dba1f9973d8ff8b98c5fae75224e Mon Sep 17 00:00:00 2001 From: Benjamin Dos Santos Date: Mon, 28 Oct 2019 15:16:37 +0100 Subject: [PATCH] refactor: enforce `KillSignal` to `SIGINT` See official Nomad systemd configuration https://www.nomadproject.io/guides/install/production/deployment-guide.html#configure-systemd --- templates/nomad_systemd.service.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/nomad_systemd.service.j2 b/templates/nomad_systemd.service.j2 index 4ddef164..ae861717 100644 --- a/templates/nomad_systemd.service.j2 +++ b/templates/nomad_systemd.service.j2 @@ -21,6 +21,7 @@ ExecStart={{ nomad_bin_dir }}/nomad agent -config={{ nomad_config_dir }} ExecReload=/bin/kill -HUP $MAINPID KillMode=process +KillSignal=SIGINT Restart=on-failure RestartSec=42s