标签:nginx
/etc/logrotate.d/nginx
/data/app_data/nginx/logs/*.log { daily missingok rotate 52 compress delaycompress notifempty sharedscripts postrotate [ -f /data/app_data/nginx/logs/nginx.pid ] && kill -USR1 `cat /data/app_data/nginx/logs/nginx.pid` endscript }
/etc/logrotate.d/php-fpm
本文出自 “Linux SA John” 博客,请务必保留此出处http://john88wang.blog.51cto.com/2165294/1627761
标签:nginx
原文地址:http://john88wang.blog.51cto.com/2165294/1627761