Merge pull request #81371 from mweinelt/pr/acme-autostart

nixos/acme: renew after rebuild and on boot
This commit is contained in:
Yegor Timoshenko 2020-03-01 15:46:31 +03:00 committed by GitHub
commit 98cbc40570
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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