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