Merge pull request #18366 from groxxda/acme-loop

security.acme: require networking for client, remove loop without fallbackHost
This commit is contained in:
Franz Pletz
2016-09-06 23:02:07 +02:00
committed by GitHub
3 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -166,7 +166,8 @@ in
++ concatLists (mapAttrsToList (name: root: [ "-d" (if root == null then name else "${name}:${root}")]) data.extraDomains);
acmeService = {
description = "Renew ACME Certificate for ${cert}";
after = [ "network.target" ];
after = [ "network.target" "network-online.target" ];
wants = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
SuccessExitStatus = [ "0" "1" ];