copr-backend: ignore 209.132.184.53 when counting rpm downloads
* that ip belongs to copr-builder-gateway.fedorainfracloud.org * also ignore other ips on the same /24 subnet
This commit is contained in:
parent
4f901eb9cf
commit
a9c57de46e
1 changed files with 2 additions and 2 deletions
|
@ -6,9 +6,9 @@
|
|||
compress
|
||||
prerotate
|
||||
{% if devel %}
|
||||
/usr/bin/copr_log_hitcounter.py /var/log/lighttpd/access.log --ignore-subnet 172.25.144.0/20 &>>/var/log/copr-backend/hitcounter-logrotate.log || :
|
||||
/usr/bin/copr_log_hitcounter.py /var/log/lighttpd/access.log --ignore-subnets 172.25.144.0/20 209.132.184.33/24 &>>/var/log/copr-backend/hitcounter-logrotate.log || :
|
||||
{% else %}
|
||||
/usr/bin/copr_log_hitcounter.py /var/log/lighttpd/access.log --ignore-subnet 172.25.80.0/20 &>>/var/log/copr-backend/hitcounter-logrotate.log || :
|
||||
/usr/bin/copr_log_hitcounter.py /var/log/lighttpd/access.log --ignore-subnets 172.25.80.0/20 209.132.184.33/24 &>>/var/log/copr-backend/hitcounter-logrotate.log || :
|
||||
{% endif %}
|
||||
endscript
|
||||
postrotate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue