1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00

Fix PHP-FPM settings: init variables upon install

This commit is contained in:
tituspijean 2023-04-27 23:33:32 +02:00
parent db4ee605e0
commit c744b47ccf
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -12,6 +12,9 @@ source /usr/share/yunohost/helpers
# Initialize the SFTP setting for the config panel
ynh_app_setting_set --app=$app --key=with_sftp --value="false"
ynh_app_setting_set --app=$app --key=password --value=$(ynh_string_random)
ynh_app_setting_set --app=$app --key=fpm_footprint --value="medium"
ynh_app_setting_set --app=$app --key=fpm_free_footprint --value="0"
ynh_app_setting_set --app=$app --key=fpm_usage --value="medium"
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE