copr-backend: activate copr_prune_results but on weekly basis
This commit is contained in:
parent
176c3bb2fc
commit
b2ab563302
3 changed files with 5 additions and 5 deletions
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
#runuser -c "PYTHONUNBUFFERED=1 python /usr/bin/copr_prune_results.py &> /dev/null" - copr
|
3
roles/copr/backend/files/cron.weekly/copr-backend
Normal file
3
roles/copr/backend/files/cron.weekly/copr-backend
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
runuser -c "PYTHONUNBUFFERED=1 python /usr/bin/copr_prune_results.py &> /dev/null" - copr
|
|
@ -101,8 +101,8 @@
|
|||
notify:
|
||||
- restart lighttpd
|
||||
|
||||
- name: provisional copr-backend cron.daily job
|
||||
copy: src="cron.daily/copr-backend" dest="/etc/cron.daily/copr-backend" owner=root group=root mode=0644
|
||||
- name: provisional copr-backend cron.weekly job
|
||||
copy: src="cron.weekly/copr-backend" dest="/etc/cron.weekly/copr-backend" owner=root group=root mode=0644
|
||||
|
||||
- name: install custom lighttpd template for directory listings
|
||||
template: src="lighttpd/dir-generator.php.j2" dest="/var/lib/copr/public_html/dir-generator.php" owner=copr group=copr mode=0755
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue