From a86b64ea502d6634df960d00a1190a327a249ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Collin?= Date: Sat, 14 Jan 2023 18:08:07 +0100 Subject: [PATCH] Why error ? --- scripts/ynh_mongo_db__2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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