From e6cda8fb61b2368595d53c39c2c34d847d7aab22 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 6 Dec 2015 10:50:53 +0000 Subject: [PATCH] Generic values --- src/freedombone | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone b/src/freedombone index eae96ada..d50e87fd 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8521,8 +8521,8 @@ function install_web_server { apt-get -y install nginx php5-fpm git # limit the number of php processes - sed -i 's/; process.max = 128/process.max = 32/g' /etc/php5/fpm/php-fpm.conf - sed -i 's/;process_control_timeout = 0/process_control_timeout = 300/g' /etc/php5/fpm/php-fpm.conf + sed -i 's/; process.max =.*/process.max = 32/g' /etc/php5/fpm/php-fpm.conf + sed -i 's/;process_control_timeout =.*/process_control_timeout = 300/g' /etc/php5/fpm/php-fpm.conf if ! grep -q "pm.max_children" /etc/php5/fpm/php-fpm.conf; then echo 'pm.max_children = 10' >> /etc/php5/fpm/php-fpm.conf