Skip to content

Commit

Permalink
add crontab for renew cert
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Mar 28, 2020
1 parent ff7815a commit ea38aae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions production.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ extends =

parts +=
crontab.reboot
crontab.certbot

[supervisor]
programs =
Expand All @@ -14,3 +15,8 @@ programs =
recipe = z3c.recipe.usercrontab
times = @reboot
command = ${buildout:directory}/bin/supervisord

[crontab.certbot]
recipe = z3c.recipe.usercrontab
times = */12 * * *
command = certbot -q renew

0 comments on commit ea38aae

Please sign in to comment.