set up systemd runtime watchdog support

Services without a hardware watchdog will need to use softdog and won't
get most of the benefits but it's still useful.
This commit is contained in:
Daniel Micay 2025-02-12 08:06:00 -05:00
parent 0dc18cdc27
commit 54dc10b79f
3 changed files with 6 additions and 2 deletions

View File

@ -245,6 +245,9 @@ declare -Ar hosts_ipv6_address=(
[grapheneos.social]=2607:5300:205:200::5e3f
)
declare -Ar hosts_hardware_watchdog=(
)
readonly hosts_dns=(
ns1.staging.grapheneos.org
ns1.grapheneos.org

View File

@ -0,0 +1 @@
softdog

View File

@ -31,10 +31,10 @@ CrashAction=reboot
#CPUAffinity=
#NUMAPolicy=default
#NUMAMask=
#RuntimeWatchdogSec=off
RuntimeWatchdogSec=60s
#RuntimeWatchdogPreSec=off
#RuntimeWatchdogPreGovernor=
#RebootWatchdogSec=10min
RebootWatchdogSec=60s
#KExecWatchdogSec=off
#WatchdogDevice=
#CapabilityBoundingSet=