tile_domains = base_domains.flat_map { |d| [d, "a.#{d}", "b.#{d}", "c.#{d}"] }
# FIXME Clean up old service
tile_domains = base_domains.flat_map { |d| [d, "a.#{d}", "b.#{d}", "c.#{d}"] }
# FIXME Clean up old service
action :delete
end
systemd_service "mapserv-fcgi-#{new_resource.site}@" do
description "Map server for #{new_resource.site} layer"
environment "MS_MAP_PATTERN" => "^/srv/imagery/mapserver/",
action :delete
end
systemd_service "mapserv-fcgi-#{new_resource.site}@" do
description "Map server for #{new_resource.site} layer"
environment "MS_MAP_PATTERN" => "^/srv/imagery/mapserver/",