copr-backend: disable copr_prune_results to test if hitcounting works
This commit is contained in:
parent
0a06c5bb6d
commit
5fad2d01a8
2 changed files with 6 additions and 0 deletions
3
roles/copr/backend/files/cron.daily/copr-backend
Normal file
3
roles/copr/backend/files/cron.daily/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
|
|
@ -99,6 +99,9 @@
|
||||||
notify:
|
notify:
|
||||||
- restart lighttpd
|
- 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: install custom lighttpd template for directory listings
|
- 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
|
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