Use the log directory variable in the logrotate configuration

This commit is contained in:
Emmanouil Kampitakis 2020-01-13 01:58:22 +01:00 committed by Jan Christian Grünhage
parent a1f9f29c05
commit 0b0dde7be8

View file

@ -1,5 +1,5 @@
{{ ansible_managed | comment }}
/var/log/matrix_synapse/matrix_synapse.log {
{{ matrix_synapse_log_dir }}/matrix_synapse.log {
daily
rotate {{ matrix_synapse_log_days_keep }}
compress