]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/php/resources/fpm.rb
Run phpfpm exporter in group www-data to allow socket access
[chef.git] / cookbooks / php / resources / fpm.rb
index f8cc208b51d0cf69c3580f7dd497b1575f195da6..b63a0c814a2de01e85891fb33bd1019d6670d7a9 100644 (file)
@@ -55,6 +55,7 @@ action :create do
       port new_resource.prometheus_port
       restrict_address_families "AF_UNIX"
       service service_name
+      group "www-data"
       command "server"
       options "--phpfpm.scrape-uri=#{scrape_uri}"
     end