From 7dc939b0f0d1109a840c008a03e0640b74737edc Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 26 Aug 2021 10:19:01 +0200 Subject: [PATCH] Update change_url --- scripts/change_url | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/change_url b/scripts/change_url index 8607037..4480004 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -29,6 +29,7 @@ ynh_script_progression --message="Loading installation settings..." --weight=1 # Needed for helper "ynh_add_nginx_config" final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) +redis_db=$(ynh_app_setting_get --app=$app --key=redis_db) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP @@ -106,6 +107,7 @@ fi #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=2 +domain=$new_domain ynh_add_config --template="../conf/config.js" --destination="$final_path/server/config.js" chmod 400 "$final_path/server/config.js"