add logrotate
This commit is contained in:
10
roles/nextcloud/templates/logrotate.nextcloud.j2
Normal file
10
roles/nextcloud/templates/logrotate.nextcloud.j2
Normal file
@@ -0,0 +1,10 @@
|
||||
## Managed by Ansible ##
|
||||
|
||||
{{ nextcloud_log_dir }}/*.log {
|
||||
rotate 5
|
||||
copytruncate
|
||||
daily
|
||||
compress
|
||||
missingok
|
||||
notifempty
|
||||
}
|
||||
Reference in New Issue
Block a user