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"