fix logrotate config
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a8e1d1fdd0
commit
acf9c3c190
|
@ -52,10 +52,11 @@ matrix_logrotate_config:
|
|||
- log: "{{ matrix_log_dir }}/homeserver.log"
|
||||
options:
|
||||
- weekly
|
||||
- rotate 4
|
||||
- maxsize 250K
|
||||
- rotate 5
|
||||
- maxsize 512K
|
||||
- compress
|
||||
- shred
|
||||
- delaycompress
|
||||
- "create 640 {{ matrix_user }} {{ matrix_group }}"
|
||||
|
||||
matrix_server_url: example.com
|
||||
matrix_client_url: https://matrix.example.com
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#jinja2: lstrip_blocks: True
|
||||
# {{ ansible_managed }}
|
||||
{{ ansible_managed | comment }}
|
||||
{{ item.log }} {
|
||||
{% for option in item.options %}
|
||||
{{ option }}
|
||||
{% endfor %}
|
||||
copytruncate
|
||||
sharedscripts
|
||||
postrotate
|
||||
/usr/bin/pkill -HUP rsyslogd
|
||||
endscript
|
||||
|
|
Loading…
Reference in New Issue