ansible/roles/synapse/templates/logrotate.j2

11 lines
222 B
Django/Jinja

{{ ansible_managed | comment }}
/var/log/matrix_synapse/matrix_synapse.log {
daily
rotate {{ matrix_synapse_log_days_keep }}
compress
shred
postrotate
/usr/bin/pkill -HUP rsyslogd
endscript
}