This commit is contained in:
parent
98e254f0f9
commit
213519da65
@ -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: []
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user