Automatic cert reload via cron
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
2022-01-13 08:48:57 +01:00
parent f34ea92952
commit 8c2fcfc4a1
3 changed files with 57 additions and 2 deletions

View File

@@ -7,7 +7,11 @@ RUN \
COPY custom.conf /etc/proftpd/conf.d/custom.conf
COPY run.sh /run.sh
COPY cron.sh /cron.sh
RUN chmod +x /run.sh
RUN \
chmod +x /run.sh && \
chmod +x /cron.sh && \
ln -s /cron.sh /etc/periodic/15min/reconfigure_certs.sh
ENTRYPOINT ["/run.sh"]