๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ansible-playbooks/roles/seafile/templates/logrotate_seafile.j2

13 lines
253 B

{{ seaf_dir }}/logs/*.log
{
daily
missingok
rotate 4
compress
delaycompress
notifempty
sharedscripts
postrotate
[ ! -f {{ seaf_dir }}/pids/seaf-server.pid ] || kill -USR1 `cat {{ seaf_dir }}/pids/seaf-server.pid`
endscript
}