X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/3d847000bb2ee1f1373634b305d36e1128025333..415fd31755518c3602e9e42dbe2232b883083df0:/cookbooks/planet/templates/default/replicate-cleanup.erb diff --git a/cookbooks/planet/templates/default/replicate-cleanup.erb b/cookbooks/planet/templates/default/replicate-cleanup.erb new file mode 100644 index 000000000..6049cc336 --- /dev/null +++ b/cookbooks/planet/templates/default/replicate-cleanup.erb @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +find /var/lib/replication/minute -name *.done -mtime +14 -print0 | xargs -0r rm