about summary refs log tree commit diff
path: root/ops/modules
diff options
context:
space:
mode:
Diffstat (limited to 'ops/modules')
-rw-r--r--ops/modules/gerrit-autosubmit.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/modules/gerrit-autosubmit.nix b/ops/modules/gerrit-autosubmit.nix
index 03b293ce2e9b..34342c8d55f4 100644
--- a/ops/modules/gerrit-autosubmit.nix
+++ b/ops/modules/gerrit-autosubmit.nix
@@ -25,6 +25,7 @@ in
     systemd.services.gerrit-autosubmit = {
       inherit description;
       wantedBy = [ "multi-user.target" ];
+      wants = [ "network-online.target" ];
       after = [ "network-online.target" ];
 
       serviceConfig = {