X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/39e9c0f23c2c459285df473de8011221f429dbad..18db4c72edea0d2cd4df5b7d7d9011df618d0ff9:/cookbooks/php/resources/fpm.rb?ds=sidebyside diff --git a/cookbooks/php/resources/fpm.rb b/cookbooks/php/resources/fpm.rb index f8cc208b5..13c973580 100644 --- a/cookbooks/php/resources/fpm.rb +++ b/cookbooks/php/resources/fpm.rb @@ -55,8 +55,10 @@ 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}" + options "--phpfpm.scrape-uri=#{scrape_uri} --phpfpm.fix-process-count" + labels "pool" => new_resource.pool end else prometheus_exporter "phpfpm" do