]> git.openstreetmap.org Git - chef.git/blob - cookbooks/tilecache/templates/default/tilecache-curl-time-cleanup.erb
tilecache: compress old curl time records
[chef.git] / cookbooks / tilecache / templates / default / tilecache-curl-time-cleanup.erb
1 #/bin/bash
2 set -eu
3 /usr/bin/find /srv/tilecache/data/ -type f -iname '*.txt' -mtime +7 -print0 | /usr/bin/xargs -0 -n 12 --no-run-if-empty -P 2 /usr/bin/xz -9e