mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Second tuning php-fpm pool.d config files
This commit is contained in:
parent
89f5e9954c
commit
a404a369ac
1 changed files with 4 additions and 4 deletions
|
@ -23,11 +23,11 @@ fi
|
|||
echo "1" > /usr/local/vesta/data/upgrades/show_changelog
|
||||
chmod a=rw /usr/local/vesta/data/upgrades/show_changelog
|
||||
|
||||
if [ ! -f "/usr/local/vesta/data/upgrades/tune-fpm-config-files-v1" ]; then
|
||||
touch /usr/local/vesta/data/upgrades/tune-fpm-config-files-v1
|
||||
if [ ! -f "/usr/local/vesta/data/upgrades/tune-fpm-config-files-v2" ]; then
|
||||
touch /usr/local/vesta/data/upgrades/tune-fpm-config-files-v2
|
||||
|
||||
mkdir -p /root/etc-php-backup
|
||||
cp -r /etc/php/ /root/etc-php-backup/
|
||||
mkdir -p /root/etc-php-backup2
|
||||
cp -r /etc/php/ /root/etc-php-backup2/
|
||||
|
||||
OLDVAL='pm.max_children = 16'
|
||||
NEWVAL='pm.max_children = 8'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue