containers-certbot/monit.conf
f e9c922fe0d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
send output to syslog
2022-09-10 18:28:27 -03:00

24 lines
635 B
Plaintext

# 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 * * *"
if status != 0 then alert
# Prune old keys
check program certbot_prune
with path "/usr/local/bin/syslogize certbotd prune"
every "13 1 2 * *"
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