mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Store fpm_footprint and fpm_usage
This commit is contained in:
parent
49d9832f0b
commit
21c3cc4a53
1 changed files with 4 additions and 0 deletions
|
@ -119,6 +119,10 @@ ynh_add_fpm_config () {
|
||||||
else
|
else
|
||||||
# Usage 2, generate a php-fpm config file with ynh_get_scalable_phpfpm
|
# Usage 2, generate a php-fpm config file with ynh_get_scalable_phpfpm
|
||||||
|
|
||||||
|
# Store settings
|
||||||
|
ynh_app_setting_set --app=$app --key=fpm_footprint --value=$footprint
|
||||||
|
ynh_app_setting_set --app=$app --key=fpm_usage --value=$usage
|
||||||
|
|
||||||
# Define the values to use for the configuration of php.
|
# Define the values to use for the configuration of php.
|
||||||
ynh_get_scalable_phpfpm --usage=$usage --footprint=$footprint
|
ynh_get_scalable_phpfpm --usage=$usage --footprint=$footprint
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue