TOMODACHI SHELL
Free Palestine !! - Free Gaza !!
OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /etc/logrotate.d/ |
|
Current File : //etc/logrotate.d/nginx |
/var/log/nginx/*.log {
missingok
rotate 21
compress
delaycompress
notifempty
nodateext
sharedscripts
daily
postrotate
if [ -f /var/run/nginx.pid ]; then
kill -USR1 `cat /var/run/nginx.pid`
fi
endscript
}
/var/log/cpanel-server-traffic/web/traffic-nginx.log {
copytruncate
rotate 5
daily
compress
missingok
extension traffic-nginx.log
dateext
dateformat %Y-%m-%d-
dateyesterday
}
TOMODACHI | Tempest Hacker