From: Tom Hughes Date: Wed, 7 Sep 2016 10:30:12 +0000 (+0100) Subject: Preload flush.so when running osmosis X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/1f0495ace8de757939fde8a77b8070ab3d5f2681 Preload flush.so when running osmosis --- diff --git a/cookbooks/planet/templates/default/replication.cron.erb b/cookbooks/planet/templates/default/replication.cron.erb index 439de3983..84ee83c7c 100644 --- a/cookbooks/planet/templates/default/replication.cron.erb +++ b/cookbooks/planet/templates/default/replication.cron.erb @@ -2,13 +2,14 @@ TZ=UTC +MAILTO=zerebubuth@gmail.com + +0 7 * * * planet /usr/local/bin/users-agreed +* * * * * planet /usr/local/bin/replicate-changesets /etc/replication/changesets.conf + MAILTO=brett@bretth.com +LD_PRELOAD=/opt/flush/flush.so * * * * * planet /usr/local/bin/osmosis -q --replicate-apidb authFile=/etc/replication/auth.conf validateSchemaVersion=false --write-replication workingDirectory=/store/planet/replication/minute 2 * * * * planet /home/bretth/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/hour 5 * * * * planet /home/bretth/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/day - -MAILTO=zerebubuth@gmail.com - -0 7 * * * planet /usr/local/bin/users-agreed -* * * * * planet /usr/local/bin/replicate-changesets /etc/replication/changesets.conf