From 5f28a24f77f69d3b9a1813bc97aa0f403a094faa Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sat, 29 Jun 2024 19:24:06 +0200 Subject: [PATCH] Update install: --eval doesn't exist anymore in mongo_exec --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 1321a7c..8864959 100755 --- a/scripts/install +++ b/scripts/install @@ -48,7 +48,7 @@ ynh_hide_warnings systemctl enable mongod --quiet ynh_systemctl --service=mongod --action=restart --log_path=/var/log/mongodb/mongod.log --wait_until="Waiting for connections" if ynh_hide_warnings ynh_mongo_exec --command="printjson(rs.status())" | grep -q "no replset config has been received"; then - ynh_hide_warnings ynh_mongo_exec --command="printjson(rs.initiate())" --eval + ynh_hide_warnings ynh_mongo_exec --command="printjson(rs.initiate())" fi #================================================= @@ -217,4 +217,4 @@ ynh_systemctl --service="$app-web" --action="start" --log_path="/var/log/$app/we # END OF SCRIPT #================================================= -ynh_script_progression "Installation of $app completed" \ No newline at end of file +ynh_script_progression "Installation of $app completed"