摘要: /opt/api/log/access.log { daily rotate 10 missingok notifempty compress sharedscripts postrotate killall -s USR1 gunicorn#重置log的指针 endscript } 阅读全文
posted @ 2020-10-11 17:26 小山药 阅读(591) 评论(0) 推荐(0) 编辑
摘要: linux logrotate 阅读全文
posted @ 2020-10-11 17:23 小山药 阅读(1016) 评论(0) 推荐(0) 编辑