summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrenew-all4
1 files changed, 2 insertions, 2 deletions
diff --git a/renew-all b/renew-all
index 09ddbc8..af06357 100755
--- a/renew-all
+++ b/renew-all
@@ -27,7 +27,7 @@ def main() -> None:
"lego",
"--accept-tos",
"--email",
- config["acme_email"],
+ domain["acme_email"],
"--dns",
"desec",
"--server",
@@ -39,7 +39,7 @@ def main() -> None:
)
environment = {
"DESEC_POLLING_INTERVAL": str(config["timeout_seconds"]),
- "DESEC_TOKEN": config["desec_token"],
+ "DESEC_TOKEN": domain["desec_token"],
}
logging.info(f"Running command {command}")
subprocess.run(command, env=environment)