cb323f5b4c
Moving keeps everything in the /matrix directory, so that we wouldn't contaminate anything else on the system or risk clashing with something else. Also retrieving certificates separately for the Riot and Matrix domains, which should help in multiple ways: - allows them to be very different (completely separate base domain..) - allows for Riot to be disabled for the playbook some time later and still have the code not break
12 lines
470 B
Django/Jinja
12 lines
470 B
Django/Jinja
MAILTO="{{ matrix_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 `matrix-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
|