From 1470ff1be13a4053aeec5eab0b43b4a451a0c3c1 Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 30 Nov 2023 13:22:20 +0100 Subject: fix(sterni/edwin): launch mirror jobs after network-online.target 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 Tested-by: BuildkiteCI --- users/sterni/machines/edwin/http/code.sterni.lv.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/sterni') 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; -- cgit 1.4.1