diff --git a/modules/crowdsec/default.nix b/modules/crowdsec/default.nix index 2897861..dbb53c9 100644 --- a/modules/crowdsec/default.nix +++ b/modules/crowdsec/default.nix @@ -178,6 +178,8 @@ in { path = [cscli]; wantedBy = ["multi-user.target"]; + after = ["network-online.target"]; + wants = ["network-online.target"]; serviceConfig = with lib; { User = "crowdsec"; Group = "crowdsec";