nineschool/logrotate/nineschool

14 lines
209 B
Plaintext

/var/www/html/nineschool/var/log/*.log {
su root www-data
daily
rotate 7
size 900
maxage 7
compress
dateext
dateformat -%Y%m%d
missingok
create 644 www-data www-data
}