prevent name collision
This commit is contained in:
parent
f0f2cee7e2
commit
af446c1bbd
3 changed files with 4 additions and 4 deletions
|
@ -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
|
RUN apk add --no-cache certbot jq wget openssh-client rsync
|
||||||
|
|
||||||
COPY ./monit.conf /etc/monit.d/certbot.conf
|
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
|
COPY ./ssh_config /root/.ssh/config
|
||||||
|
|
||||||
VOLUME /etc/letsencrypt
|
VOLUME /etc/letsencrypt
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
# Get first certificate!
|
# Get first certificate!
|
||||||
check program certbot_bootstrap
|
check program certbot_bootstrap
|
||||||
with path "/usr/local/bin/certbot bootstrap"
|
with path "/usr/local/bin/certbotd bootstrap"
|
||||||
every 1 cycle
|
every 1 cycle
|
||||||
if status = 0 then unmonitor
|
if status = 0 then unmonitor
|
||||||
|
|
||||||
# Renew certificates once a week
|
# Renew certificates once a week
|
||||||
check program certbot_renew
|
check program certbot_renew
|
||||||
with path "/usr/local/bin/certbot renew"
|
with path "/usr/local/bin/certbotd renew"
|
||||||
every "13 5 * * *"
|
every "13 5 * * *"
|
||||||
if status != 0 then alert
|
if status != 0 then alert
|
||||||
|
|
||||||
# Get missing certificates for every cycle.
|
# Get missing certificates for every cycle.
|
||||||
check program certbot
|
check program certbot
|
||||||
with path "/usr/local/bin/certbot"
|
with path "/usr/local/bin/certbotd"
|
||||||
every 1 cycle
|
every 1 cycle
|
||||||
if status != 0 then alert
|
if status != 0 then alert
|
||||||
|
|
Loading…
Reference in a new issue