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 <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2023-11-30 13:22:20 +01:00
parent 1481066cb7
commit 1470ff1be1

View file

@ -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;