aboutsummaryrefslogtreecommitdiffstats
path: root/module/default.nix
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2024-09-07 14:03:10 +0200
committerLibravatar Rutger Broekhoff2024-09-07 14:03:10 +0200
commit17f285ed4ea86c584481958fcbeed53f464a3cf2 (patch)
treeb40ee3ba19bdef1ca9d09c8586e679d39533370b /module/default.nix
parent66a98861d0fbb7cba742b63bf97268a2a619c5e0 (diff)
downloadoeuf-main.tar.gz
oeuf-main.zip
Make recvkv6, archiver depend on network-online.targetHEADmain
Diffstat (limited to 'module/default.nix')
-rw-r--r--module/default.nix4
1 files changed, 2 insertions, 2 deletions
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
62 } 62 }
63 (mkIf cfg.enable { 63 (mkIf cfg.enable {
64 systemd.services.oeuf-recvkv6 = { 64 systemd.services.oeuf-recvkv6 = {
65 after = [ "network-online.target" ]; 65 wants = [ "network-online.target" ];
66 wantedBy = [ "multi-user.target" ]; 66 wantedBy = [ "multi-user.target" ];
67 environment = { 67 environment = {
68 METRICS_ADDR = cfg.metricsAddr; 68 METRICS_ADDR = cfg.metricsAddr;
@@ -90,7 +90,7 @@ in
90 }; 90 };
91 91
92 systemd.services.oeuf-archiver = { 92 systemd.services.oeuf-archiver = {
93 after = [ "network-online.target" ]; 93 wants = [ "network-online.target" ];
94 environment = { 94 environment = {
95 S3_PROVIDER = archiverCfg.s3.provider; 95 S3_PROVIDER = archiverCfg.s3.provider;
96 S3_REGION = archiverCfg.s3.region; 96 S3_REGION = archiverCfg.s3.region;