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:
parent
1481066cb7
commit
1470ff1be1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue