checkers are now objects, lay foundation for persistent alerts

This commit is contained in:
Alex Tau 2025-06-05 21:45:01 +03:00
parent 5d2759c63c
commit eef6ec59b0
12 changed files with 162 additions and 81 deletions

View file

@ -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;
};
};
};
}