bundlewrap/bundles/letsencrypt/metadata.py
Franziska Kunsmann f7eb0cc150
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
bundles/{letsencrypt,nginx}: fix ocsp stapling
2020-07-19 12:10:19 +02:00

8 lines
342 B
Python

@metadata_processor
def crontab(metadata):
return {
'cron': {
'letsencrypt_renew': '20 4 * * * root /usr/bin/dehydrated --cron --accept-terms --challenge http-01 > /dev/null',
'letsencrypt_cleanup': '42 23 * * 0 root /usr/bin/dehydrated --cleanup > /dev/null',
},
}, DEFAULTS, DONE