Add logrotate config
This commit is contained in:
parent
fec08d6873
commit
65c23b744a
1 changed files with 9 additions and 0 deletions
9
bashclub-zsync/etc/logrotate.d/bashclub_zsync
Normal file
9
bashclub-zsync/etc/logrotate.d/bashclub_zsync
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
/var/log/zsync/*.log {
|
||||||
|
weekly
|
||||||
|
rotate 12
|
||||||
|
compress
|
||||||
|
delaycompress
|
||||||
|
missingok
|
||||||
|
notifempty
|
||||||
|
create 644 root root
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue