Skip to content

Commit

Permalink
systemd-shutdown: adjust watchdog expiration time
Browse files Browse the repository at this point in the history
By default, the second stage watchdog time that is used to set the
watchdog once systemd-shutdown has stopped all services and replaced
PID1 with itself is set to 10m.

However, the RPI watchdog has a maximum timeout of 15s, so we adjust this
value accordingly.

This helps ensure that when a shutdown or reboot is triggered, the device
can fallback to a watchdog reboot if it gets stuck.

Changelog-entry: adjust reboot watchdog timeout
Signed-off-by: Alex Gonzalez <alexg@balena.io>
  • Loading branch information
alexgg committed Jul 4, 2024
1 parent 7e0a913 commit dc157ca
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[Manager]
RuntimeWatchdogSec=10s
RebootWatchdogSec=15s

0 comments on commit dc157ca

Please sign in to comment.