refactor(sterni/code.sterni.lv): downgrade network-online to wants
`requires` is not recommended in this context. I think I tried it out of desperation trying to combat the issue that these units would be started before they were able to resolve names in switch-to-configuration. Unfortunately, network access during switch-to-configuration can't be detected using network-online.target, it seems. Change-Id: Ia98a0a3b505ffa56eb37fb58a5375a1215d6cb1b Reviewed-on: https://cl.tvl.fyi/c/depot/+/12794 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
e6d0e95cc4
commit
2b9a088845
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ in
|
|||
name = unitName name;
|
||||
value = {
|
||||
description = "mirror git repository ${name}";
|
||||
requires = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
|
||||
script =
|
||||
|
|
Loading…
Reference in a new issue