From 2f4e7915c1864021f611490c6012f503de6db494 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 10 Jul 2022 10:56:56 +0100 Subject: [PATCH] Restore use of flush.so for hourly and daily replication --- cookbooks/planet/recipes/replication.rb | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.39.5