修复php-yum无法更改性能调整

pull/185/head
midoks 3 years ago
parent aad4343a59
commit d72abb1e30
  1. 3
      plugins/php-yum/index.py

@ -419,7 +419,8 @@ def setFpmConfig(version):
max_spare_servers = args['max_spare_servers']
pm = args['pm']
file = getServerDir() + '/php' + version + '/php-fpm.d/www.conf'
# file = getServerDir() + '/php' + version + '/php-fpm.d/www.conf'
file = getFpmConfFile(version)
conf = mw.readFile(file)
rep = "\s*pm.max_children\s*=\s*([0-9]+)\s*"

Loading…
Cancel
Save