From 0b1038060aedadd69617a5693b7c400945a23f2c Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 13 Mar 2026 17:09:59 +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. 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 --- .../etc/systemd/logind.conf.d/hassio.conf | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 homeassistant-supervised/etc/systemd/logind.conf.d/hassio.conf diff --git a/homeassistant-supervised/etc/systemd/logind.conf.d/hassio.conf b/homeassistant-supervised/etc/systemd/logind.conf.d/hassio.conf new file mode 100644 index 0000000..08d27e6 --- /dev/null +++ b/homeassistant-supervised/etc/systemd/logind.conf.d/hassio.conf @@ -0,0 +1,5 @@ +[Login] +# Allow Supervisor enough time to gracefully stop all add-ons, Home Assistant +# Core, and plugins before the system shuts down. Core alone can take 40+ +# seconds to stop; 300s gives enough headroom for a clean shutdown. +InhibitDelayMaxSec=300