nixos/acme: renew after rebuild and on boot

Fixes #81069
This commit is contained in:
Martin Weinelt 2020-02-29 14:39:55 +01:00
parent 6602e9ad5b
commit 5ff9441471
No known key found for this signature in database
GPG Key ID: BD4AA0528F63F17E

View File

@ -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