watchdog set
This commit is contained in:
parent
5475527ef3
commit
d7f0d7e043
@ -43,6 +43,7 @@
|
||||
wantedBy = [ "default.target" ];
|
||||
path = [ pkgs.bash download ];
|
||||
serviceConfig = {
|
||||
WatchdogSec = "30min";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 30;
|
||||
ExecStart = "${download}/bin/download ${execStartCmd}";
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
description = "monitors a stream channel for online streams.";
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
WatchdogSec = "15min";
|
||||
OnBootSec = "5min";
|
||||
OnUnitActiveSec = "65min";
|
||||
RandomizedDelaySec = 30;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user