1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vikunja_ynh.git synced 2024-09-03 18:06:26 +02:00
This commit is contained in:
ericgaspar 2022-01-16 15:51:51 +01:00
parent fa7f39d9a7
commit 07f6f2bbdf
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 1 deletions

View file

@ -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"
#=================================================

View file

@ -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