fix logrotate config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-08-08 23:21:31 +02:00
parent 98e254f0f9
commit 213519da65
2 changed files with 7 additions and 4 deletions

View File

@ -27,10 +27,11 @@ jellyfin_logrotate_config:
- log: "{{ jellyfin_log_dir }}/jellyfin.log"
options:
- weekly
- rotate 4
- maxsize 250K
- rotate 5
- maxsize 512K
- compress
- shred
- delaycompress
- "create 640 {{ jellyfin_user }} {{ jellyfin_group }}"
jellyfin_packages_extra: []

View File

@ -1,9 +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