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