From 4d5eb51b32655a1d04cbe3c35fdf4bd7ddedc91b Mon Sep 17 00:00:00 2001 From: Joakim Repomaa Date: Sun, 5 Jul 2026 13:36:27 +0300 Subject: [PATCH] turny: faster stop (SIGINT, 10s timeout) --- flake.lock | 6 +++--- hosts/turny/configuration.nix | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 0319fdf..70b63c6 100644 --- a/flake.lock +++ b/flake.lock @@ -1127,11 +1127,11 @@ ] }, "locked": { - "lastModified": 1783247297, - "narHash": "sha256-AaP7GT48Kx0IcatrKK7DvNaf6dUR7bYnJkhEbv7bCv8=", + "lastModified": 1783247771, + "narHash": "sha256-1/pqgl1pFNUvP+ElPsDY39E+r7N0Q5yO8kEazwX7IVg=", "owner": "~repomaa", "repo": "turny", - "rev": "0941d2550875de22e3db6aeac415c97b7de315ed", + "rev": "24dd6b1431a8f647c5aeb8575b54f7a4b9757ac6", "type": "sourcehut" }, "original": { diff --git a/hosts/turny/configuration.nix b/hosts/turny/configuration.nix index 1740df3..850a5af 100644 --- a/hosts/turny/configuration.nix +++ b/hosts/turny/configuration.nix @@ -190,6 +190,8 @@ in Restart = "always"; RestartSec = 10; RestartPreventExitStatus = 23; + TimeoutStopSec = 10; + KillSignal = "SIGINT"; NoNewPrivileges = true; PrivateTmp = true; ProtectSystem = "strict";