bundles/cron: add
This commit is contained in:
parent
f0d962ab04
commit
2a6547dfb7
3 changed files with 15 additions and 0 deletions
8
bundles/letsencrypt/metadata.py
Normal file
8
bundles/letsencrypt/metadata.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
@metadata_processor
|
||||
def crontab(metadata):
|
||||
return {
|
||||
'cron': {
|
||||
'letsencrypt_renew': '20 4 * * * root /usr/bin/dehydrated --cron --accept-terms --ocsp --challenge http-01 > /dev/null',
|
||||
'letsencrypt_cleanup': '42 23 * * 0 root /usr/bin/dehydrated --cleanup > /dev/null',
|
||||
},
|
||||
}, DEFAULTS, DONE
|
Loading…
Add table
Add a link
Reference in a new issue