Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added fpm.d include path

  • Loading branch information...
commit a6733a2b50f32660af506efad03577e089de3527 1 parent d20ca6d
@josegonzalez josegonzalez authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  Formula/php53.rb
  2. +1 −0  Formula/php54.rb
View
1  Formula/php53.rb
@@ -210,6 +210,7 @@ def install
config_path.install "sapi/fpm/php-fpm.conf"
inreplace config_path+"php-fpm.conf" do |s|
s.sub!(/^;?daemonize\s*=.+$/,'daemonize = no')
+ s.sub!(/^;include\s*=.+$/,";include=#{config_path}/fpm.d/*.conf")
s.sub!(/^;?pm\.max_children\s*=.+$/,'pm.max_children = 50')
s.sub!(/^;?pm\.start_servers\s*=.+$/,'pm.start_servers = 20')
s.sub!(/^;?pm\.min_spare_servers\s*=.+$/,'pm.min_spare_servers = 10')
View
1  Formula/php54.rb
@@ -223,6 +223,7 @@ def install
config_path.install "sapi/fpm/php-fpm.conf"
inreplace config_path+"php-fpm.conf" do |s|
s.sub!(/^;?daemonize\s*=.+$/,'daemonize = no')
+ s.sub!(/^;include\s*=.+$/,";include=#{config_path}/fpm.d/*.conf")
s.sub!(/^;?pm\.max_children\s*=.+$/,'pm.max_children = 50')
s.sub!(/^;?pm\.start_servers\s*=.+$/,'pm.start_servers = 20')
s.sub!(/^;?pm\.min_spare_servers\s*=.+$/,'pm.min_spare_servers = 10')
Please sign in to comment.
Something went wrong with that request. Please try again.