From 17f285ed4ea86c584481958fcbeed53f464a3cf2 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Sat, 7 Sep 2024 14:03:10 +0200 Subject: Make recvkv6, archiver depend on network-online.target --- module/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/default.nix') diff --git a/module/default.nix b/module/default.nix index c891ceb..0151f65 100644 --- a/module/default.nix +++ b/module/default.nix @@ -62,7 +62,7 @@ in } (mkIf cfg.enable { systemd.services.oeuf-recvkv6 = { - after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; environment = { METRICS_ADDR = cfg.metricsAddr; @@ -90,7 +90,7 @@ in }; systemd.services.oeuf-archiver = { - after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; environment = { S3_PROVIDER = archiverCfg.s3.provider; S3_REGION = archiverCfg.s3.region; -- cgit v1.2.3