ninesurvey/logrotate/ninesurvey
2020-11-12 11:58:50 +01:00

14 lines
209 B
Plaintext

/var/www/html/ninesurvey/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
}