copr-dist-git: logrotate fix

This commit is contained in:
clime 2017-04-11 02:42:12 +02:00
parent af9ab8ce5d
commit ca805c553d
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# logrotation file for Copr dist git
/var/log/copr-dist-git/*.log {
weekly
rotate 5
copytruncate
compress
notifempty
missingok
create 644 copr-dist-git copr-dist-git
}

View file

@ -60,6 +60,9 @@
notify:
- reload httpd
- name: temporary logrotation fix until copr-dist-git 0.26 is released & deployed
copy: src="logrotate.d/copr-dist-git" dest="/etc/logrotate.d/copr-dist-git"
- copy: src="dist-git.conf" dest="/etc/dist-git/dist-git.conf" mode=0644
tags:
- config