1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minchat_ynh.git synced 2024-09-03 19:36:29 +02:00
This commit is contained in:
ericgaspar 2020-07-26 20:06:47 +02:00
parent 22cdb4b9b1
commit 36c89c5afb
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 2 additions and 6 deletions

View file

@ -25,6 +25,5 @@ location __PATH__/ {
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}

View file

@ -7,7 +7,7 @@
# dependencies used by the app
#pkg_dependencies=""
YNH_PHP_VERSION="7.3"
#YNH_PHP_VERSION="7.3"
#=================================================
# PERSONAL HELPERS

View file

@ -49,7 +49,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
# BACKUP THE PHP-FPM CONFIGURATION
#=================================================
ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
ynh_backup --src_path="/etc/php/7.0/fpm/pool.d/$app.conf"
#=================================================
# END OF SCRIPT

View file

@ -80,8 +80,6 @@ ynh_system_user_create --username=$app
#=================================================
ynh_script_progression --message="Configuring PHP-fpm..." --time --weight=1
phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)
# Create a dedicated php-fpm config
ynh_add_fpm_config

View file

@ -20,7 +20,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app=$app --key=path)
is_public=$(ynh_app_setting_get --app=$app --key=is_public)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
# CHECK VERSION