From a25c2ffc9d10c1c90ac50925dde9c0f2738ef40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Sun, 16 May 2021 01:35:13 +0100 Subject: [PATCH] webserver: Use SIGKILL instead of SIGTERM to kill the container See https://github.com/SergioBenitez/Rocket/issues/180. --- configuration/services/webserver.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration/services/webserver.nix b/configuration/services/webserver.nix index e1c396d..2eb860a 100644 --- a/configuration/services/webserver.nix +++ b/configuration/services/webserver.nix @@ -29,6 +29,9 @@ ]; ExposedPorts = { "3002" = { }; }; User = "${uid}:${gid}"; + + # Will become SIGTERM with the next rocket release + StopSignal = "SIGKILL"; }; };