mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 04:41:10 +00:00
checkers are now objects, lay foundation for persistent alerts
This commit is contained in:
parent
5d2759c63c
commit
eef6ec59b0
12 changed files with 162 additions and 81 deletions
|
|
@ -68,7 +68,14 @@ package:
|
|||
description = "Lego-monitoring service";
|
||||
script = "${package}/bin/lego-monitoring -c ${serviceConfigFile}";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.Restart = "on-failure";
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5";
|
||||
};
|
||||
unitConfig = {
|
||||
StartLimitIntervalSec = 20;
|
||||
StartLimitBurst = 3;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue