2020-06-01 09:54:28 +00:00
|
|
|
@metadata_processor
|
|
|
|
def crontab(metadata):
|
|
|
|
return {
|
|
|
|
'cron': {
|
2020-07-19 10:10:19 +00:00
|
|
|
'letsencrypt_renew': '20 4 * * * root /usr/bin/dehydrated --cron --accept-terms --challenge http-01 > /dev/null',
|
2020-06-01 09:54:28 +00:00
|
|
|
'letsencrypt_cleanup': '42 23 * * 0 root /usr/bin/dehydrated --cleanup > /dev/null',
|
|
|
|
},
|
|
|
|
}, DEFAULTS, DONE
|