mirror of
https://github.com/YunoHost-Apps/vikunja_ynh.git
synced 2024-09-03 18:06:26 +02:00
Fix
This commit is contained in:
parent
fa7f39d9a7
commit
07f6f2bbdf
2 changed files with 3 additions and 1 deletions
|
@ -127,8 +127,9 @@ ynh_add_nginx_config
|
|||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
smtp_user_pwd=$(ynh_string_random --length=24)
|
||||
ynh_app_setting_set --app=$app --key=path --value=$smtp_user_pwd
|
||||
ynh_app_setting_set --app=$app --key=smtp_user_pwd --value=$smtp_user_pwd
|
||||
redis_db=$(ynh_redis_get_free_db)
|
||||
ynh_app_setting_set --app=$app --key=redis_db --value=$redis_db
|
||||
ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -26,6 +26,7 @@ db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
|
|||
timezone="$(cat /etc/timezone)"
|
||||
secret=$(ynh_string_random --length=32)
|
||||
smtp_user_pwd=$(ynh_app_setting_get --app=$app --key=smtp_user_pwd)
|
||||
redis_db=$(ynh_app_setting_get --app=$app --key=redis_db)
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
|
|
Loading…
Add table
Reference in a new issue