Merge "Configure htcacheclean for zuul-web"

This commit is contained in:
Zuul 2020-05-07 17:10:51 +00:00 committed by Gerrit Code Review
commit 239bb4e09d
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# This file must only contain KEY=VALUE lines. Do not use advanced
# shell script constructs!
## run mode: cron, daemon
## run in daemon mode or as daily cron job
## default: daemon
HTCACHECLEAN_MODE=daemon
## cache size
HTCACHECLEAN_SIZE=300M
## interval: if in daemon mode, clean cache every x minutes
HTCACHECLEAN_DAEMON_INTERVAL=15
## path to cache
## must be the same as in CacheRoot directive
#HTCACHECLEAN_PATH=/var/cache/apache2/mod_cache_disk
## additional options:
## -n : be nice
## -t : remove empty directories
HTCACHECLEAN_OPTIONS="-n"

View File

@ -47,6 +47,14 @@
mode: 0644
notify: zuul Reload apache2
- name: Copy htcacheclean config
copy:
src: apache-htcacheclean.default
dest: /etc/default/apache-htcacheclean
owner: root
group: root
mode: '0644'
- name: Install logging config
copy:
src: logging.conf