From 3981c7798cd304ce34726fc63fcc39612e317072 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 13 Mar 2026 17:10:56 +0100 Subject: [PATCH] logind: Set InhibitDelayMaxSec=300 to allow Supervisor graceful shutdown (#4577) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Supervisor takes a logind delay inhibitor lock on startup and releases it after gracefully stopping all add-ons, Home Assistant Core, and plugins in the correct order. The default 5s window is far too short — Core alone can take 40+ seconds to stop. 300s gives enough headroom for a clean shutdown. Co-authored-by: Claude Sonnet 4.6 --- buildroot-external/rootfs-overlay/etc/systemd/logind.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildroot-external/rootfs-overlay/etc/systemd/logind.conf b/buildroot-external/rootfs-overlay/etc/systemd/logind.conf index 36a0cfc09..b4d0dcabe 100644 --- a/buildroot-external/rootfs-overlay/etc/systemd/logind.conf +++ b/buildroot-external/rootfs-overlay/etc/systemd/logind.conf @@ -17,7 +17,7 @@ #KillUserProcesses=yes #KillOnlyUsers= #KillExcludeUsers=root -#InhibitDelayMaxSec=5 +InhibitDelayMaxSec=300 HandlePowerKey=ignore HandlePowerKeyLongPress=poweroff HandleRebootKey=ignore