containers-certbot/monit.conf

18 lines
456 B
Plaintext
Raw Normal View History

2019-09-10 23:17:04 +00:00
# Get first certificate!
check program certbot_bootstrap
2022-03-15 21:56:01 +00:00
with path "/usr/local/bin/certbotd bootstrap"
2019-09-10 23:17:04 +00:00
every 1 cycle
if status = 0 then unmonitor
# Renew certificates once a week
check program certbot_renew
2022-03-15 21:56:01 +00:00
with path "/usr/local/bin/certbotd renew"
2019-09-10 23:17:04 +00:00
every "13 5 * * *"
if status != 0 then alert
# Get missing certificates for every cycle.
check program certbot
2022-03-15 21:56:01 +00:00
with path "/usr/local/bin/certbotd"
2019-09-10 23:17:04 +00:00
every 1 cycle
if status != 0 then alert