mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 19:42:55 +08:00
copr-dist-git: logrotate fix
This commit is contained in:
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:
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user