bundlewrap/bundles/letsencrypt/metadata.py
Franziska Kunsmann e35f41c6dc
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/letsencrypt: change cronjob times
2020-08-30 21:26:33 +02:00

6 lines
328 B
Python

defaults = {
'cron': {
'letsencrypt_renew': '{} 4 * * * root /usr/bin/dehydrated --cron --accept-terms --challenge http-01 > /dev/null'.format((node.magic_number % 60)),
'letsencrypt_cleanup': '{} 4 * * 0 root /usr/bin/dehydrated --cleanup > /dev/null'.format((node.magic_number % 60)),
},
}