renamed
This commit is contained in:
parent
c27a19da56
commit
b53e982317
@ -35,7 +35,7 @@ in {
|
||||
in
|
||||
valueType;
|
||||
default = {
|
||||
filename = throw "Please specify outage-detector.settings.";
|
||||
logFile = throw "Please specify outage-detector.settings.";
|
||||
host = "1.1.1.1";
|
||||
timeout = 2;
|
||||
};
|
||||
@ -47,7 +47,7 @@ in {
|
||||
|
||||
systemd.services.outage-detector = mkIf (cfg.timer
|
||||
!= null) {
|
||||
script = "${package}/bin/outage_detector log ${cfg.settings.filename} --host ${cfg.settings.host} --timeout ${cfg.settings.timeout}";
|
||||
script = "${package}/bin/outage_detector log ${cfg.settings.logFile} --host ${cfg.settings.host} --timeout ${cfg.settings.timeout}";
|
||||
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
|
Loading…
Reference in New Issue
Block a user