]> git.openstreetmap.org Git - chef.git/commitdiff
Run tile log analysis as the planet user
authorTom Hughes <tom@compton.nu>
Sat, 23 Sep 2023 11:10:37 +0000 (12:10 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 23 Sep 2023 11:10:37 +0000 (12:10 +0100)
cookbooks/tilelog/recipes/default.rb

index 83f72d160f1b98afdb942335607d875bd9ffb8ae..823e1a3f605e1ece32636f6be362c8b47d7c48c6 100644 (file)
@@ -35,8 +35,8 @@ python_package "tilelog" do
 end
 
 directory tilelog_output_directory do
-  user "www-data"
-  group "www-data"
+  user "planet"
+  group "planet"
   mode "755"
   recursive true
 end
@@ -52,7 +52,7 @@ end
 
 systemd_service "tilelog" do
   description "Tile log analysis"
-  user "www-data"
+  user "planet"
   exec_start "/usr/local/bin/tilelog"
   nice 10
   sandbox :enable_network => true