Browse Source

Add certbot-renew cronjob

master
parent
commit
60391806f6
2 changed files with 5 additions and 1 deletions
  1. 2
    1
      Dockerfile
  2. 3
    0
      certbot-renew.sh

+ 2
- 1
Dockerfile View File

@@ -19,8 +19,9 @@ RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/so
COPY cron.sh /cron.sh
COPY haraka.sh /haraka.sh
COPY supervisord.conf /etc/supervisor/supervisord.conf
COPY certbot-renew.sh /etc/cron.daily/certbot-renew.sh

RUN chmod +x /cron.sh /haraka.sh
RUN chmod +x /cron.sh /haraka.sh /etc/cron.daily/certbot-new.sh

# Install and Haraka and it's plugins
USER node

+ 3
- 0
certbot-renew.sh View File

@@ -0,0 +1,3 @@
#!/bin/bash

certbot renew

Loading…
Cancel
Save