X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e3ca5c6e8ee819019a779fb20bcae0c0f08a1471..c8013100c2f1bb0c251d4aa7117ccd022eefb38d:/cookbooks/tilelog/recipes/default.rb diff --git a/cookbooks/tilelog/recipes/default.rb b/cookbooks/tilelog/recipes/default.rb index 8151a3bf5..823e1a3f6 100644 --- a/cookbooks/tilelog/recipes/default.rb +++ b/cookbooks/tilelog/recipes/default.rb @@ -31,12 +31,12 @@ end python_package "tilelog" do python_virtualenv tilelog_directory python_version "3" - version "1.3.0" + version "1.7.0" end directory tilelog_output_directory do - user "www-data" - group "www-data" + user "planet" + group "planet" mode "755" recursive true end @@ -52,12 +52,10 @@ end systemd_service "tilelog" do description "Tile log analysis" - user "www-data" + user "planet" exec_start "/usr/local/bin/tilelog" - private_tmp true - private_devices true - protect_system "strict" - protect_home true + nice 10 + sandbox :enable_network => true read_write_paths tilelog_output_directory end