]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilelog/recipes/default.rb
Run a monthly reindex of the smaller database tables
[chef.git] / cookbooks / tilelog / recipes / default.rb
index 8151a3bf579032722ce5322dcd02beb81be08f88..89b37dde8e068827662c406a5e381374a449f266 100644 (file)
@@ -31,7 +31,7 @@ end
 python_package "tilelog" do
   python_virtualenv tilelog_directory
   python_version "3"
 python_package "tilelog" do
   python_virtualenv tilelog_directory
   python_version "3"
-  version "1.3.0"
+  version "1.6.1"
 end
 
 directory tilelog_output_directory do
 end
 
 directory tilelog_output_directory do
@@ -54,10 +54,8 @@ systemd_service "tilelog" do
   description "Tile log analysis"
   user "www-data"
   exec_start "/usr/local/bin/tilelog"
   description "Tile log analysis"
   user "www-data"
   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
 
   read_write_paths tilelog_output_directory
 end