nineskeletor/logrotate/nineskeletor

14 lines
211 B
Plaintext
Raw Normal View History

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