containers-certbot/monit.conf
f 1ded062099
All checks were successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
fix: cron
2024-12-28 18:08:06 -03:00

23 lines
651 B
Text

# Get first certificate!
check program certbot_bootstrap
with path "/usr/local/bin/syslogize certbotd bootstrap"
every 1 cycle
if status = 0 then unmonitor
# Renew certificates once a week
check program certbot_renew
with path "/usr/local/bin/syslogize certbotd renew"
every "13 5 * * 1"
if status != 0 then alert
# Prune old keys before renewals
check program certbot_prune
with path "/usr/local/bin/syslogize certbotd prune"
every "13 3 * * 1"
if status != 0 then alert
# Get missing certificates for every cycle.
check program certbot
with path "/usr/local/bin/syslogize certbotd"
every 1 cycle
if status != 0 then alert