From e304c352a13519afbd9e2b9bc04b069add8e7bf4 Mon Sep 17 00:00:00 2001 From: Jack Murray Date: Sat, 14 Aug 2021 14:04:02 +0100 Subject: [PATCH] Change letsencrypt timer from 1h --> 1 day There's no need to be calling certbot so frequently --- core/nginx/letsencrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nginx/letsencrypt.py b/core/nginx/letsencrypt.py index 1f7e20dc..cfd14e73 100755 --- a/core/nginx/letsencrypt.py +++ b/core/nginx/letsencrypt.py @@ -48,7 +48,7 @@ def format_for_nginx(fullchain, output): # Wait for nginx to start time.sleep(5) -# Run certbot every hour +# Run certbot every day while True: subprocess.call(command) format_for_nginx('/certs/letsencrypt/live/mailu/fullchain.pem', '/certs/letsencrypt/live/mailu/nginx-chain.pem')