From c858534e791d235b035a55eac91a55a5f8462ab8 Mon Sep 17 00:00:00 2001 From: anmol Date: Sun, 1 Nov 2020 01:27:17 +0530 Subject: [PATCH] Change the database username --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 1fe561a..3cfc1fe 100755 --- a/scripts/install +++ b/scripts/install @@ -124,6 +124,7 @@ cp -f "$final_path/.env.example" "$config" ynh_replace_string --match_string="SomeRandomStringOf32CharsExactly" --replace_string="$random_key" --target_file="$config" ynh_replace_string --match_string="fireflyiiidb" --replace_string="127.0.0.1" --target_file="$config" ynh_replace_string --match_string="DB_DATABASE=firefly" --replace_string="DB_DATABASE=$db_name" --target_file="$config" +ynh_replace_string --match_string="DB_USERNAME=firefly" --replace_string="DB_USERNAME=$db_name" --target_file="$config" ynh_replace_string --match_string="secret_firefly_password" --replace_string="$db_pwd" --target_file="$config" ynh_replace_string --match_string="MAIL_MAILER=log" --replace_string="MAIL_MAILER=smtp" --target_file="$config" ynh_replace_string --match_string="MAIL_HOST=null" --replace_string="MAIL_HOST=127.0.0.1" --target_file="$config"