Merge pull request #295501 from eclairevoyant/scrutiny

This commit is contained in:
Jon Seager 2024-03-13 07:32:37 +00:00 committed by GitHub
commit b31e87640a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -201,17 +201,12 @@ in
Type = "oneshot";
ExecStart = "${getExe cfg.collector.package} run --config ${settingsFormat.generate "scrutiny-collector.yaml" cfg.collector.settings}";
};
startAt = cfg.collector.schedule;
};
};
timers = mkIf cfg.collector.enable {
scrutiny-collector = {
timerConfig = {
OnCalendar = cfg.collector.schedule;
Persistent = true;
Unit = "scrutiny-collector.service";
};
};
scrutiny-collector.timerConfig.Persistent = true;
};
};
};