about summary refs log tree commit diff
path: root/users/sterni/machines/ingeborg
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2024-11-15T12·38+0100
committerclbot <clbot@tvl.fyi>2024-11-15T14·53+0000
commit2b9a088845af1cac9e12ad5752be0e32b8c105c7 (patch)
tree3e6b9afdc147eac313a93abd4786ec5ddc45e1ce /users/sterni/machines/ingeborg
parente6d0e95cc458db347728f063b174af68a1ca5fd7 (diff)
refactor(sterni/code.sterni.lv): downgrade network-online to wants r/8930
`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>
Diffstat (limited to 'users/sterni/machines/ingeborg')
-rw-r--r--users/sterni/machines/ingeborg/http/code.sterni.lv.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/sterni/machines/ingeborg/http/code.sterni.lv.nix b/users/sterni/machines/ingeborg/http/code.sterni.lv.nix
index 7a6f82395a97..843f525de84b 100644
--- a/users/sterni/machines/ingeborg/http/code.sterni.lv.nix
+++ b/users/sterni/machines/ingeborg/http/code.sterni.lv.nix
@@ -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 =