1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pepettes_ynh.git synced 2024-09-03 19:56:35 +02:00

Load settings in change_url script

This commit is contained in:
tituspijean 2022-04-16 19:43:58 +02:00
parent c8749da716
commit 810b8ea210
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -29,10 +29,15 @@ 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)
# Add settings here as needed by your application
#db_name=$(ynh_app_setting_get --app=$app --key=db_name)
#db_user=$db_name
#db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd)
project_name=$(ynh_app_setting_get --app=$app --key=project_name)
contact_url=$(ynh_app_setting_get --app=$app --key=contact_url)
logo=$(ynh_app_setting_get --app=$app --key=logo)
favicon=$(ynh_app_setting_get --app=$app --key=favicon)
publishable_key=$(ynh_app_setting_get --app=$app --key=publishable_key)
secret_key=$(ynh_app_setting_get --app=$app --key=secret_key)
prices=$(ynh_app_setting_get --app=$app --key=prices)
secret=$(ynh_app_setting_get --app=$app --key=secret)
csrf_key=$(ynh_app_setting_get --app=$app --key=csrf_key)
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP