From d26ab17535dc492a860aa6d5aa3aa917ae84c3c1 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 31 Dec 2022 09:48:41 +0000 Subject: [PATCH] Create directories for gps-tile output --- cookbooks/gps-tile/recipes/default.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cookbooks/gps-tile/recipes/default.rb b/cookbooks/gps-tile/recipes/default.rb index d71d04ade..1a8cdbce4 100644 --- a/cookbooks/gps-tile/recipes/default.rb +++ b/cookbooks/gps-tile/recipes/default.rb @@ -86,6 +86,18 @@ git "/srv/gps-tile.openstreetmap.org/updater" do 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"] -- 2.39.5