Can parametrized watchdog

This commit is contained in:
nemunaire 2023-03-14 14:10:26 +01:00
parent 4a304d486a
commit 0f9b5178b3
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
---
ssh_authorized_keys: []
ssh_authorized_keys_extra: []
watchdog_reboot_timer: 16
watchdog_reset_timer: 10

View File

@ -29,7 +29,7 @@
#repair-maximum = 1
watchdog-device = /dev/watchdog
watchdog-timeout = 16
watchdog-timeout = {{ watchdog_reboot_timer }}
# Defaults compiled into the binary
#temperature-sensor =

View File

@ -1,2 +1,2 @@
WATCHDOG_OPTS="-T 16 -t 10"
WATCHDOG_OPTS="-T {{ watchdog_reboot_timer }} -t {{ watchdog_reset_timer }}"
WATCHDOG_DEV="/dev/watchdog"