mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Merge branch 'testing' into extra_php-fpm
This commit is contained in:
commit
a912632f1d
1 changed files with 8 additions and 0 deletions
|
@ -167,6 +167,14 @@ chmod 750 "$final_path"
|
||||||
if [ $phpversion != "none" ]
|
if [ $phpversion != "none" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Configuring PHP-FPM..." --weight=2
|
ynh_script_progression --message="Configuring PHP-FPM..." --weight=2
|
||||||
|
|
||||||
|
fpm_footprint="low"
|
||||||
|
fpm_free_footprint=0
|
||||||
|
fpm_usage="low"
|
||||||
|
|
||||||
|
ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint
|
||||||
|
ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=$fpm_free_footprint
|
||||||
|
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
|
||||||
|
|
||||||
# Create a dedicatedPHP-FPM config
|
# Create a dedicatedPHP-FPM config
|
||||||
ynh_add_fpm_config --usage=low --footprint=low --phpversion=$phpversion
|
ynh_add_fpm_config --usage=low --footprint=low --phpversion=$phpversion
|
||||||
|
|
Loading…
Add table
Reference in a new issue