Apache logrotate

apache
/software/apache/logs/*log {
    daily
    rotate 90
    dateext
    compress
    compressext .gz
    missingok
    notifempty
    sharedscripts
    delaycompress
    postrotate
        /bin/kill -HUP `cat /software/apache/logs/httpd.pid 2> /dev/null` 2> /dev/null || true
    endscript
}
로그인하면 댓글을 남길 수 있습니다.
  • apache_logrotate.txt
  • 마지막으로 수정됨: 2016/05/17 11:12
  • 저자 koov