From f6f01a2e0b1f75dbc1d961aea3e7571e1763723d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 17 May 2024 13:29:05 +0200 Subject: [PATCH] Save db_user_* in settings --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index f2357e1..fe3e742 100755 --- a/scripts/install +++ b/scripts/install @@ -19,6 +19,7 @@ db_name_app=$(ynh_sanitize_dbid --db_name="${app}_app") db_user_app=$db_name_app db_pwd_app=$(ynh_string_random --length=30) ynh_app_setting_set --app="$app" --key="db_name_app" --value="$db_name_app" +ynh_app_setting_set --app="$app" --key="db_user_app" --value="$db_user_app" ynh_app_setting_set --app="$app" --key="db_pwd_app" --value="$db_pwd_app" # mailman3-web database @@ -26,6 +27,7 @@ db_name_web=$(ynh_sanitize_dbid --db_name="${app}_web") db_user_web=$db_name_web db_pwd_web=$(ynh_string_random --length=30) ynh_app_setting_set --app="$app" --key="db_name_web" --value="$db_name_web" +ynh_app_setting_set --app="$app" --key="db_user_web" --value="$db_user_web" ynh_app_setting_set --app="$app" --key="db_pwd_web" --value="$db_pwd_web" # mailman3 core configuration