prevent name collision

This commit is contained in:
f 2022-03-15 18:56:01 -03:00
parent f0f2cee7e2
commit af446c1bbd
3 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ RUN install -dm 2700 -o root -g root /root/.ssh
RUN apk add --no-cache certbot jq wget openssh-client rsync
COPY ./monit.conf /etc/monit.d/certbot.conf
COPY ./certbot.sh /usr/local/bin/certbot
COPY ./certbotd.sh /usr/local/bin/certbotd
COPY ./ssh_config /root/.ssh/config
VOLUME /etc/letsencrypt

View file

@ -1,17 +1,17 @@
# Get first certificate!
check program certbot_bootstrap
with path "/usr/local/bin/certbot bootstrap"
with path "/usr/local/bin/certbotd bootstrap"
every 1 cycle
if status = 0 then unmonitor
# Renew certificates once a week
check program certbot_renew
with path "/usr/local/bin/certbot renew"
with path "/usr/local/bin/certbotd renew"
every "13 5 * * *"
if status != 0 then alert
# Get missing certificates for every cycle.
check program certbot
with path "/usr/local/bin/certbot"
with path "/usr/local/bin/certbotd"
every 1 cycle
if status != 0 then alert