/home/wwwroot/logs/*.log {
daily
missingok
compress
delaycompress
dateext
create
notifempty
sharedscripts
postrotate
kill -HUP `cat /usr/local/nginx/logs/nginx.pid`
endscript
}
59 23 * * * root logrotate -f /usr/local/nginx/conf/logrotate.conf
| 欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) | Powered by Discuz! X3.4 |