vsftpd/vsftpd.logrotate

15 lines
210 B
Plaintext
Raw Permalink Normal View History

/var/log/vsftpd.log {
compress
dateext
maxage 365
rotate 99
size +1024k
notifempty
missingok
create 600 root root
sharedscripts
postrotate
pgrep vsftpd && killall -HUP vsftpd || exit 0
endscript
}