From 23c57a75db21bc496b5e3dd51b7d7eee1c32d903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Collin?= Date: Sat, 14 Jan 2023 18:04:52 +0100 Subject: [PATCH] Try to run mongo during install --- scripts/ynh_mongo_db__2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ynh_mongo_db__2 b/scripts/ynh_mongo_db__2 index e3aec17..00d346f 100644 --- a/scripts/ynh_mongo_db__2 +++ b/scripts/ynh_mongo_db__2 @@ -321,7 +321,7 @@ ynh_install_mongo() { systemctl daemon-reload --quiet # Test mongod to see if it crashes - ynh_exec_err /usr/bin/mongod --config /etc/mongodb.conf + ynh_exec_err "/usr/bin/mongod --config /etc/mongodb.conf" sleep 60 pkill mongod ynh_exec_err cat /var/log/mongodb/mongod.conf