/opt/api/log/access.log {
    daily
    rotate 10
    missingok
    notifempty
    compress
    sharedscripts
    postrotate
        killall -s USR1 gunicorn#重置log的指针
    endscript
}

 

相关文章:

  • 2021-11-04
  • 2021-12-24
  • 2021-12-18
  • 2021-09-14
  • 2021-09-06
  • 2021-09-19
  • 2022-12-23
猜你喜欢
  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-06-22
相关资源
相似解决方案