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:
parent
c8749da716
commit
810b8ea210
1 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue