diff --git a/scripts/ynh_mongo_db__2 b/scripts/ynh_mongo_db__2 index 00d346f..fbd53c0 100644 --- a/scripts/ynh_mongo_db__2 +++ b/scripts/ynh_mongo_db__2 @@ -322,8 +322,8 @@ ynh_install_mongo() { # Test mongod to see if it crashes ynh_exec_err "/usr/bin/mongod --config /etc/mongodb.conf" - sleep 60 - pkill mongod + # sleep 60 + # pkill mongod ynh_exec_err cat /var/log/mongodb/mongod.conf ynh_systemd_action --service_name=$mongodb_servicename --action=restart --line_match="aiting for connections" --log_path="systemd" --length=100 --timeout=60