X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d1b835abf6c54e768ead54dd0056011554ba0b71..f3d8422f1c3d8c1e8cf3cc04d9982b8cfb8878c4:/cookbooks/planet/recipes/default.rb?ds=inline diff --git a/cookbooks/planet/recipes/default.rb b/cookbooks/planet/recipes/default.rb index 0f505af06..2a5fdfee1 100644 --- a/cookbooks/planet/recipes/default.rb +++ b/cookbooks/planet/recipes/default.rb @@ -83,6 +83,12 @@ directory "/store/planet/notes" do mode "775" end +directory "/store/planet/statistics" do + owner "www-data" + group "planet" + mode "775" +end + template "/usr/local/bin/apache-latest-planet-filename" do source "apache-latest-planet-filename.erb" owner "root" @@ -127,6 +133,6 @@ cron_d "old-planet-file-cleanup" do hour "3" day "1-7" user "www-data" - command "test $(date +\%u) -eq 1 && /usr/local/bin/old-planet-file-cleanup --debug" + command "test $(date +\\%u) -eq 1 && /usr/local/bin/old-planet-file-cleanup --debug" mailto "zerebubuth@gmail.com" end