watchdog set

This commit is contained in:
Danilo Reyes 2024-06-13 13:06:24 -06:00
parent 5475527ef3
commit d7f0d7e043
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@
wantedBy = [ "default.target" ];
path = [ pkgs.bash download ];
serviceConfig = {
WatchdogSec = "30min";
Restart = "on-failure";
RestartSec = 30;
ExecStart = "${download}/bin/download ${execStartCmd}";

View File

@ -23,6 +23,7 @@
description = "monitors a stream channel for online streams.";
wantedBy = [ "timers.target" ];
timerConfig = {
WatchdogSec = "15min";
OnBootSec = "5min";
OnUnitActiveSec = "65min";
RandomizedDelaySec = 30;