+systemd_service "render-lowzoom" do
+ description "Render low zoom tiles"
+ condition_path_exists_glob "!/run/update-lowzoom-*"
+ user "tile"
+ exec_start "/usr/local/bin/render-lowzoom"
+ sandbox true
+ restrict_address_families "AF_UNIX"
+ read_write_paths "/var/log/tile"
+end
+
+systemd_timer "render-lowzoom" do
+ description "Render low zoom tiles"
+ on_calendar "23:00 #{node[:timezone]}"
+end
+
+service "render-lowzoom.timer" do
+ action [:enable, :start]