Merge pull request #296937 from MinerSebas/scrutiny-collector-ordering

This commit is contained in:
Jon Seager 2024-03-18 17:16:40 +00:00 committed by GitHub
commit ffc736695c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,6 +195,8 @@ in
systemd = {
services.scrutiny-collector = {
description = "Scrutiny Collector Service";
after = lib.optional cfg.enable "scrutiny.service";
wants = lib.optional cfg.enable "scrutiny.service";
environment = {
COLLECTOR_VERSION = "1";
COLLECTOR_API_ENDPOINT = cfg.collector.settings.api.endpoint;