copr-dist-git: logrotate fix
This commit is contained in:
parent
af9ab8ce5d
commit
ca805c553d
2 changed files with 14 additions and 0 deletions
11
roles/copr/dist_git/files/logrotate.d/copr-dist-git
Normal file
11
roles/copr/dist_git/files/logrotate.d/copr-dist-git
Normal 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
|
||||||
|
}
|
|
@ -60,6 +60,9 @@
|
||||||
notify:
|
notify:
|
||||||
- reload httpd
|
- 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
|
- copy: src="dist-git.conf" dest="/etc/dist-git/dist-git.conf" mode=0644
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue