mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-02-22 07:49:50 -05:00
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:
parent
0dc18cdc27
commit
54dc10b79f
3
hosts.sh
3
hosts.sh
@ -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
|
||||
|
1
modules-load.d/softdog.conf
Normal file
1
modules-load.d/softdog.conf
Normal file
@ -0,0 +1 @@
|
||||
softdog
|
@ -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=
|
||||
|
Loading…
x
Reference in New Issue
Block a user