Update to 2022-02-22 19:00

This commit is contained in:
Daniel Berteaud 2022-02-22 19:00:06 +01:00
parent 4737fece2c
commit 6b0f3de36b
2 changed files with 11 additions and 0 deletions

View File

@ -52,3 +52,7 @@
command: "{{ bookstack_root_dir }}/perms.sh"
when: bookstack_perm_script.changed or bookstack_install_mode != 'none'
tags: bookstack
- name: Deploy logrotate conf
template: src=logrotate.conf.j2 dest=/etc/logrotate.d/bookstack_{{ bookstack_id }}
tags: bookstack

View File

@ -0,0 +1,7 @@
{{ bookstack_root_dir }}/data/storage/logs/*.log {
daily
rotate 90
compress
missingok
su {{ bookstack_php_user }} {{ bookstack_php_user }}
}