nixos/scrutiny: Order scrutiny-collector after scrutiny
This commit is contained in:
parent
79bb415514
commit
9d384c350b
|
@ -195,6 +195,8 @@ in
|
||||||
systemd = {
|
systemd = {
|
||||||
services.scrutiny-collector = {
|
services.scrutiny-collector = {
|
||||||
description = "Scrutiny Collector Service";
|
description = "Scrutiny Collector Service";
|
||||||
|
after = lib.optional cfg.enable "scrutiny.service";
|
||||||
|
wants = lib.optional cfg.enable "scrutiny.service";
|
||||||
environment = {
|
environment = {
|
||||||
COLLECTOR_VERSION = "1";
|
COLLECTOR_VERSION = "1";
|
||||||
COLLECTOR_API_ENDPOINT = cfg.collector.settings.api.endpoint;
|
COLLECTOR_API_ENDPOINT = cfg.collector.settings.api.endpoint;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user