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:
parent
595c85f074
commit
3c2804808f
1 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue