From 9d5fb5cc8c362dd1b2a2940d97606ca54ef39662 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 7 Aug 2020 19:44:24 +0200 Subject: [PATCH] fix mongo service start --- scripts/ynh_mongo_db | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ynh_mongo_db b/scripts/ynh_mongo_db index ff2c419..4a43534 100644 --- a/scripts/ynh_mongo_db +++ b/scripts/ynh_mongo_db @@ -323,6 +323,9 @@ ynh_install_mongo() { # Integrate MongoDB service in YunoHost yunohost service add $MONGODB_SERVICENAME --description "MongoDB daemon" --log "/var/log/mongodb/$MONGODB_SERVICENAME.log" + + # Waiting Mongo DB to be fully started + sleep 10 } # Remove MongoDB