Skip to content

Commit

Permalink
Allow osm2pgsql replication to write to tile directories
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Nov 22, 2023
1 parent 09b86cc commit 9005630
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cookbooks/tile/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,8 @@
exec_start "/bin/osm2pgsql-replication update --database gis --post-processing /usr/local/bin/expire-tiles -- #{osm2pgsql_arguments.join(' ')}"
sandbox :enable_network => true
restrict_address_families "AF_UNIX"
read_write_paths [
read_write_paths tile_directories + [
"/srv/tile.openstreetmap.org/tiles",
"/store/database/nodes",
"/var/lib/replicate"
]
Expand Down

0 comments on commit 9005630

Please sign in to comment.