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

Update upgrade

This commit is contained in:
Éric Gaspar 2022-11-22 21:26:52 +01:00
parent 4520456c9e
commit 2e54d8ae1e

View file

@ -103,6 +103,18 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
# Create a dedicated NGINX config
ynh_add_nginx_config
#=================================================
# UPDATE CONFIGURATION
#=================================================
ynh_script_progression --message="Updating mytinytodo database..." --weight=3
(cd "$final_path"
/usr/bin/php$phpversion -q $final_path/settings.php)
ynh_secure_remove --file="$final_path/settings.php"
#=================================================
# RELOAD NGINX
#=================================================