From bfc9b500264f754f016ddd7203376c7e21e8c92f Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Sun, 28 Dec 2025 17:47:37 +0000 Subject: Hardcode config file path under /etc/opt The config file gets installed to here in reality. I could introduce some config, for example overwriting this during the build process, I think that would be overkill. --- renew-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'renew-all') diff --git a/renew-all b/renew-all index af06357..f29438a 100755 --- a/renew-all +++ b/renew-all @@ -9,7 +9,7 @@ import tomllib def main() -> None: - with open("config.toml", "rb") as config_file: + with open("/etc/opt/acme/config.toml", "rb") as config_file: full_config = tomllib.load(config_file) config = full_config["config"] -- cgit v1.2.3