about summary refs log tree commit diff
path: root/users/sterni
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-11-30T12·22+0100
committersterni <sternenseemann@systemli.org>2023-11-30T17·19+0000
commit1470ff1be13a4053aeec5eab0b43b4a451a0c3c1 (patch)
tree236d86c7ca61fa5c76f077748a0d252e7a267b21 /users/sterni
parent1481066cb78460649d55f9bfc0931740baee7e3f (diff)
fix(sterni/edwin): launch mirror jobs after network-online.target r/7091
This will hopefully prevent failures on system deploys where DNS is
briefly not available, so git(1) fails to resolve github.com. Thanks
flokli for the tip.

Change-Id: I6096e9f3655cbe28ca2a71142de22337814e0be1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10172
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/sterni')
-rw-r--r--users/sterni/machines/edwin/http/code.sterni.lv.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/sterni/machines/edwin/http/code.sterni.lv.nix b/users/sterni/machines/edwin/http/code.sterni.lv.nix
index 7fd730285914..79af1f27d040 100644
--- a/users/sterni/machines/edwin/http/code.sterni.lv.nix
+++ b/users/sterni/machines/edwin/http/code.sterni.lv.nix
@@ -228,7 +228,7 @@ in
             name = unitName name;
             value = {
               description = "mirror git repository ${name}";
-              after = [ "network.target" ];
+              after = [ "network-online.target" ];
               script =
                 let
                   path = repoPath name repo;