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

Update change_url

This commit is contained in:
ericgaspar 2021-09-01 10:31:34 +02:00
parent 0c1354d80c
commit e92c3a9499
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -35,7 +35,6 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name)
db_user=$db_name db_user=$db_name
db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd) db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
redis_db=$(ynh_app_setting_get --app=$app --key=redis_db) redis_db=$(ynh_app_setting_get --app=$app --key=redis_db)
secret=$(ynh_app_setting_get --app=$app --key=secret)
#================================================= #=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
@ -108,6 +107,9 @@ then
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf" ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
fi fi
#=================================================
# CONFIGURE CONFIG.JSON FILE
#=================================================
domain="$new_domain" domain="$new_domain"
path="$new_path" path="$new_path"