about summary refs log tree commit diff
path: root/nixos/modules/services/security/certmgr.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/security/certmgr.nix')
-rw-r--r--nixos/modules/services/security/certmgr.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/security/certmgr.nix b/nixos/modules/services/security/certmgr.nix
index db80e943973dc..02cb7afe87bad 100644
--- a/nixos/modules/services/security/certmgr.nix
+++ b/nixos/modules/services/security/certmgr.nix
@@ -182,6 +182,7 @@ in
     systemd.services.certmgr = {
       description = "certmgr";
       path = mkIf (cfg.svcManager == "command") [ pkgs.bash ];
+      wants = [ "network-online.target" ];
       after = [ "network-online.target" ];
       wantedBy = [ "multi-user.target" ];
       inherit preStart;