nineschool/logrotate/nineschool

14 lines
209 B
Plaintext
Raw Normal View History

2020-10-02 14:34:23 +02:00
/var/www/html/nineschool/var/log/*.log {
2020-10-19 11:06:36 +02:00
su root www-data
2020-10-02 14:34:23 +02:00
daily
2020-10-19 11:06:36 +02:00
rotate 7
size 900
maxage 7
2020-10-02 14:34:23 +02:00
compress
2020-10-19 11:06:36 +02:00
dateext
dateformat -%Y%m%d
missingok
create 644 www-data www-data
2020-10-02 14:34:23 +02:00
}