]> git.openstreetmap.org Git - chef.git/commitdiff
Create directories for gps-tile output
authorTom Hughes <tom@compton.nu>
Sat, 31 Dec 2022 09:48:41 +0000 (09:48 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 31 Dec 2022 09:48:41 +0000 (09:48 +0000)
cookbooks/gps-tile/recipes/default.rb

index d71d04ade74c74d8c7eb9fc19ca5e777e3b22db7..1a8cdbce4fe0730242b9aba8dc06a2315fb993f7 100644 (file)
@@ -86,6 +86,18 @@ git "/srv/gps-tile.openstreetmap.org/updater" do
   group "gpstile"
 end
 
   group "gpstile"
 end
 
+directory "/srv/gps-tile.openstreetmap.org/tracks" do
+  owner "gpstile"
+  group "gpstile"
+  mode "755"
+end
+
+directory "/srv/gps-tile.openstreetmap.org/shapes" do
+  owner "gpstile"
+  group "gpstile"
+  mode "755"
+end
+
 systemd_service "gps-update" do
   description "GPS tile update daemon"
   after ["network.target", "memcached.service"]
 systemd_service "gps-update" do
   description "GPS tile update daemon"
   after ["network.target", "memcached.service"]