From: Tom Hughes Date: Sun, 10 Jul 2022 09:56:56 +0000 (+0100) Subject: Restore use of flush.so for hourly and daily replication X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/2f4e7915c1864021f611490c6012f503de6db494 Restore use of flush.so for hourly and daily replication --- diff --git a/cookbooks/planet/recipes/replication.rb b/cookbooks/planet/recipes/replication.rb index 0a9387d19..a31f98288 100644 --- a/cookbooks/planet/recipes/replication.rb +++ b/cookbooks/planet/recipes/replication.rb @@ -317,6 +317,7 @@ systemd_service "replication-hourly" do description "Hourly replication" user "planet" exec_start "/usr/local/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/hour" + environment "LD_PRELOAD" => "/opt/flush/flush.so" private_tmp true private_devices true protect_system "full" @@ -360,6 +361,7 @@ systemd_service "replication-daily" do description "Daily replication" user "planet" exec_start "/usr/local/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/day" + environment "LD_PRELOAD" => "/opt/flush/flush.so" private_tmp true private_devices true protect_system "full"