se realiza ajustes a www.conf

parent e8fd443a
Pipeline #8228 passed with stage
in 7 minutes and 32 seconds
#!/bin/bash
sed -i "s/pm.max_children = 5/pm.max_children = 10/" /usr/local/etc/php-fpm.d/www.conf
sed -i "s/pm.start_servers = 2/pm.start_servers = 4/" /usr/local/etc/php-fpm.d/www.conf
sed -i "s/pm.min_spare_servers = 1/pm.min_spare_servers = 1/" /usr/local/etc/php-fpm.d/www.conf
sed -i "s/pm.max_spare_servers = 3/pm.max_spare_servers = 4/" /usr/local/etc/php-fpm.d/www.conf
sed -i "s/;pm.max_requests = 500/pm.max_requests = 250/" /usr/local/etc/php-fpm.d/www.conf
# Update the application name
sed -i "s/newrelic.appname = \"PHP Application\"/newrelic.appname = \"${NR_APP_NAME}\"/" /usr/local/etc/php/conf.d/newrelic.ini
sed -i "s/newrelic.license = \"REPLACE_WITH_REAL_KEY\"/newrelic.license = \"${NR_INSTALL_KEY}\"/" /usr/local/etc/php/conf.d/newrelic.ini
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment