diff --git a/scripts/ynh_mongo_db__2 b/scripts/ynh_mongo_db__2 index e2d40bb..e86fb4b 100644 --- a/scripts/ynh_mongo_db__2 +++ b/scripts/ynh_mongo_db__2 @@ -326,7 +326,7 @@ ynh_install_mongo() { mongo_packages="mongodb-org-server mongodb-org-tools mongodb-mongosh-shared-openssl11" fi - ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian $mongo_debian_release/mongodb-org/$mongo_version main" --package=$mongo_packages --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc" + ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian $mongo_debian_release/mongodb-org/$mongo_version main" --package="$mongo_packages" --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc" mongodb_servicename=mongod # Make sure MongoDB is started and enabled