From 4c9493249064abfd2d5d535d02939e0e001a5089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Mon, 17 May 2021 00:18:51 +0100 Subject: [PATCH] webserver: Use SIGKILL instead of SIGTERM --- configuration/services/webserver.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configuration/services/webserver.nix b/configuration/services/webserver.nix index e1c396d..c1966a5 100644 --- a/configuration/services/webserver.nix +++ b/configuration/services/webserver.nix @@ -34,6 +34,10 @@ ports = [ "3002:3002" ]; volumes = [ "tlaternet-mail:/srv/mail" ]; - extraOptions = [ "--hostname=tlater.net" ]; + extraOptions = [ + "--hostname=tlater.net" + # Rocket 0.4 doesn't support SIGTERM anyway, so SIGKILL is the cleanest exit possible. + "--stop-signal=SIGKILL" + ]; }; }