mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-02-22 15:59:55 -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
|
[grapheneos.social]=2607:5300:205:200::5e3f
|
||||||
)
|
)
|
||||||
|
|
||||||
|
declare -Ar hosts_hardware_watchdog=(
|
||||||
|
)
|
||||||
|
|
||||||
readonly hosts_dns=(
|
readonly hosts_dns=(
|
||||||
ns1.staging.grapheneos.org
|
ns1.staging.grapheneos.org
|
||||||
ns1.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=
|
#CPUAffinity=
|
||||||
#NUMAPolicy=default
|
#NUMAPolicy=default
|
||||||
#NUMAMask=
|
#NUMAMask=
|
||||||
#RuntimeWatchdogSec=off
|
RuntimeWatchdogSec=60s
|
||||||
#RuntimeWatchdogPreSec=off
|
#RuntimeWatchdogPreSec=off
|
||||||
#RuntimeWatchdogPreGovernor=
|
#RuntimeWatchdogPreGovernor=
|
||||||
#RebootWatchdogSec=10min
|
RebootWatchdogSec=60s
|
||||||
#KExecWatchdogSec=off
|
#KExecWatchdogSec=off
|
||||||
#WatchdogDevice=
|
#WatchdogDevice=
|
||||||
#CapabilityBoundingSet=
|
#CapabilityBoundingSet=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user