1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-18 09:35:22 +02:00
matrix-docker-ansible-deploy/roles/matrix-server/templates/cron.d/matrix-ssl-certificate-renewal.j2

12 lines
548 B
Plaintext
Raw Normal View History

MAILTO="{{ matrix_ssl_support_email }}"
2017-07-31 22:07:30 +02:00
# The goal of this cronjob is to ask certbot to check
2017-07-31 22:07:30 +02:00
# the current SSL certificates and to see if some need renewal.
# If so, it would attempt to renew.
2017-07-31 22:07:30 +02:00
#
# Various services depend on these certificates and would need to be restarted.
# This is not our concern here. We simply make sure the certificates are up to date.
# Restarting of services happens on its own different schedule (other cronjobs).
{{ matrix_ssl_renew_cron_time_definition }} root /bin/bash /usr/local/bin/matrix-ssl-certificates-renew