diff options
Diffstat (limited to 'hosts/surtr/tls.nix')
-rw-r--r-- | hosts/surtr/tls.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/surtr/tls.nix b/hosts/surtr/tls.nix index 259202bb..d087c9f5 100644 --- a/hosts/surtr/tls.nix +++ b/hosts/surtr/tls.nix | |||
@@ -5,7 +5,7 @@ let | |||
5 | knotDNSCredentials = zone: pkgs.writeText "lego-credentials" '' | 5 | knotDNSCredentials = zone: pkgs.writeText "lego-credentials" '' |
6 | EXEC_PATH=${knotDNSExec zone}/bin/update-dns.sh | 6 | EXEC_PATH=${knotDNSExec zone}/bin/update-dns.sh |
7 | EXEC_PROPAGATION_TIMEOUT=60 | 7 | EXEC_PROPAGATION_TIMEOUT=60 |
8 | EXEC_POLLING_INTERVAL=10 | 8 | EXEC_POLLING_INTERVAL=5 |
9 | ''; | 9 | ''; |
10 | knotDNSExec = zone: pkgs.writeScriptBin "update-dns.sh" '' | 10 | knotDNSExec = zone: pkgs.writeScriptBin "update-dns.sh" '' |
11 | #!${pkgs.zsh}/bin/zsh -xe | 11 | #!${pkgs.zsh}/bin/zsh -xe |
@@ -20,7 +20,7 @@ let | |||
20 | 20 | ||
21 | case "''${mode}" in | 21 | case "''${mode}" in |
22 | present) | 22 | present) |
23 | ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 60 TXT "''${challenge}" | 23 | ${knotCfg.cliWrappers}/bin/knotc zone-set ${zone} "''${owner}" 30 TXT "''${challenge}" |
24 | ;; | 24 | ;; |
25 | cleanup) | 25 | cleanup) |
26 | ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT "''${challenge}" | 26 | ${knotCfg.cliWrappers}/bin/knotc zone-unset ${zone} "''${owner}" TXT "''${challenge}" |