include_recipe "accounts"
include_recipe "apt"
include_recipe "osmosis"
+include_recipe "planet::aws"
include_recipe "ruby"
include_recipe "tools"
exec_start "/usr/local/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/hour"
environment "LD_PRELOAD" => "/opt/flush/flush.so"
sandbox :enable_network => true
+ memory_deny_write_execute false
read_write_paths [
"/store/planet/replication/hour",
"/var/lib/replication/hour"
end
systemd_timer "replication-hourly" do
- description "Daily replication"
+ description "Hourly replication"
on_calendar "*-*-* *:02/15:00"
end
exec_start "/usr/local/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/day"
environment "LD_PRELOAD" => "/opt/flush/flush.so"
sandbox :enable_network => true
+ memory_deny_write_execute false
read_write_paths [
"/store/planet/replication/day",
"/var/lib/replication/day"