mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-03 11:37:47 +00:00
Change letsencrypt timer from 1h --> 1 day
There's no need to be calling certbot so frequently
This commit is contained in:
committed by
Florent Daigniere
parent
925105075c
commit
e304c352a1
@@ -48,7 +48,7 @@ def format_for_nginx(fullchain, output):
|
|||||||
# Wait for nginx to start
|
# Wait for nginx to start
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
|
||||||
# Run certbot every hour
|
# Run certbot every day
|
||||||
while True:
|
while True:
|
||||||
subprocess.call(command)
|
subprocess.call(command)
|
||||||
format_for_nginx('/certs/letsencrypt/live/mailu/fullchain.pem', '/certs/letsencrypt/live/mailu/nginx-chain.pem')
|
format_for_nginx('/certs/letsencrypt/live/mailu/fullchain.pem', '/certs/letsencrypt/live/mailu/nginx-chain.pem')
|
||||||
|
|||||||
Reference in New Issue
Block a user