diff --git a/scripts/install b/scripts/install index c91460d..84dd015 100644 --- a/scripts/install +++ b/scripts/install @@ -18,6 +18,8 @@ admin_pass=$(ynh_string_random --length=24) secrets_peertube=$(ynh_string_random --length=24) db_name="peertube_${app}" db_user=$(ynh_sanitize_dbid --db_name=$app) +ynh_app_setting_set --app=$app --key=db_name --value=$db_name +ynh_app_setting_set --app=$app --key=db_user --value=$db_user #================================================= # STORE SETTINGS FROM MANIFEST diff --git a/scripts/upgrade b/scripts/upgrade index ebb61a4..f6641aa 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,7 +84,6 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Upgrading dependencies..." -#ynh_exec_warn_less ynh_install_apps --apps="$app_dependencies" ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version #=================================================