From 811535353ba4a313fb99af8c876dfa4e348b2b2e Mon Sep 17 00:00:00 2001 From: Tagadda <36127788+Tagadda@users.noreply.github.com> Date: Thu, 24 Feb 2022 18:35:11 +0000 Subject: [PATCH] zblerg --- scripts/change_url | 1 + scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 4919905..a844731 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -29,6 +29,7 @@ ynh_script_progression --message="Loading installation settings..." --time --wei # Needed for .env and nginx.conf final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) +domain=$(ynh_app_setting_get --app=$app --key=domain) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=db_name db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd) diff --git a/scripts/upgrade b/scripts/upgrade index aa08191..aef2d4f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,7 +21,7 @@ path_url=$(ynh_app_setting_get --app=$app --key=path) final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) 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) lockbox_master_key=$(ynh_app_setting_get --app=$app --key=lockbox_master_key) secret_key_base=$(ynh_app_setting_get --app=$app --key=secret_key_base)