Skip to content

Commit 3981c77

Browse files
agnersclaude
andauthored
logind: Set InhibitDelayMaxSec=300 to allow Supervisor graceful shutdown (#4577)
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 <noreply@anthropic.com>
1 parent 123b023 commit 3981c77

File tree

1 file changed

+1
-1
lines changed
  • buildroot-external/rootfs-overlay/etc/systemd

1 file changed

+1
-1
lines changed

buildroot-external/rootfs-overlay/etc/systemd/logind.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#KillUserProcesses=yes
1818
#KillOnlyUsers=
1919
#KillExcludeUsers=root
20-
#InhibitDelayMaxSec=5
20+
InhibitDelayMaxSec=300
2121
HandlePowerKey=ignore
2222
HandlePowerKeyLongPress=poweroff
2323
HandleRebootKey=ignore

0 commit comments

Comments
 (0)