Update index.py

pull/185/head
midoks 3 years ago
parent 44fa68f52d
commit e13df3ae58
  1. 4
      plugins/php-yum/index.py

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

Loading…
Cancel
Save