From a7be55130843467158b5306d724286ba676d845c Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 13 Mar 2026 15:52:58 +0100 Subject: [PATCH] logind: Set InhibitDelayMaxSec=300 to allow Supervisor graceful shutdown 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 36a0cfc09dd..b4d0dcabe40 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