matrix-docker-ansible-deploy/roles/matrix-server/templates/cron.d/matrix-periodic-restarter.j2

12 lines
470 B
Plaintext
Raw Normal View History

MAILTO="{{ matrix_ssl_support_email }}"
2017-07-31 22:07:30 +02:00
# This periodically restarts the Matrix services
# to ensure they're using the latest SSL certificate
# in case it got renewed by the `matrix-ssl-certificate-renewal` cronjob
2017-07-31 22:07:30 +02:00
# (which happens once every ~2-3 months).
#
# Because `matrix-nginx-proxy.service` depends on `matrix-synapse.service`,
# both would be restarted.
{{ matrix_services_restart_cron_time_definition }} root /usr/bin/systemctl restart matrix-synapse.service