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

12 lines
456 B
Plaintext
Raw Normal View History

2017-07-31 20:07:30 +00:00
MAILTO="{{ ssl_support_email }}"
# This periodically restarts the Matrix services
# to ensure they're using the latest SSL certificate
# in case it got renewed by the `ssl-certificate-renewal` cronjob
# (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