From 5ff9441471e4a63be0eb60632a26ad33f2a4afc3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 29 Feb 2020 14:39:55 +0100 Subject: [PATCH] nixos/acme: renew after rebuild and on boot Fixes #81069 --- nixos/modules/security/acme.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/security/acme.nix b/nixos/modules/security/acme.nix index 238c18242c1..9e660b3d6a3 100644 --- a/nixos/modules/security/acme.nix +++ b/nixos/modules/security/acme.nix @@ -294,6 +294,7 @@ in description = "Renew ACME Certificate for ${cert}"; after = [ "network.target" "network-online.target" ]; wants = [ "network-online.target" ]; + wantedBy = [ "multi-user.target" ]; serviceConfig = { Type = "oneshot"; # With RemainAfterExit the service is considered active even