1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/xbackbone_ynh.git synced 2024-09-03 19:15:53 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-08-19 17:25:33 +02:00
parent 595c85f074
commit 3c2804808f

View file

@ -29,6 +29,16 @@ fi
chown -R $app:www-data "$install_dir"
#=================================================
# XBACKBONE UPGRADE
#=================================================
ynh_script_progression --message="Install database" --weight=1
pushd $install_dir
php$phpversion php/migrate --install
php$phpversion php/clean
popd
#=================================================
# PHP-FPM CONFIGURATION
#=================================================
@ -37,11 +47,6 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
# Create a dedicated NGINX config
ynh_add_nginx_config