]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/php/resources/fpm.rb
Name php-fpm socket to work with apparmor-profiles
[chef.git] / cookbooks / php / resources / fpm.rb
index 657f3b51b285e9d6302219c28fff1c855d8b593c..49df4effe105be998f7971ca2199c3906325156d 100644 (file)
@@ -93,7 +93,7 @@ action_class do
     if new_resource.port
       "tcp://127.0.0.1:#{new_resource.port}/status"
     else
-      "unix:///run/php/#{new_resource.pool}.sock;/status"
+      "unix:///run/php/php-#{new_resource.pool}-fpm.sock;/status"
     end
   end
 end