From 95179e6e02042c8c3973ceed2fe7fd2fea724aac Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 15 Feb 2024 14:03:21 +0100 Subject: [PATCH] replica set --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 1578f0d..2391b61 100755 --- a/scripts/install +++ b/scripts/install @@ -45,6 +45,7 @@ db_name=$(ynh_sanitize_dbid --db_name=$app) db_user=$db_name ynh_app_setting_set --app=$app --key=db_name --value=$db_name ynh_mongo_setup_db --db_user=$db_user --db_name=$db_name +mongosh rs.initiate() #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE