1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-02-19 19:10:25 +02:00

Try to renew the certificate less often, related to #223

This commit is contained in:
kaiyou 2017-07-31 20:46:38 +02:00
parent 2bfe11c1a4
commit dc86a3feec

View File

@ -44,7 +44,7 @@ def certbot_install(domain):
@scheduler.scheduled_job('date')
@scheduler.scheduled_job('cron', hour=2, minute=0)
@scheduler.scheduled_job('cron', hour=96, minute=0)
def generate_cert():
print("Generating TLS certificates using Certbot")
hostname = app.config["HOSTNAME"]