From cd803c84b12c77bb69eaa3f1ed631bfccf7b5669 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 15 Aug 2021 18:10:36 +0200 Subject: [PATCH] Fix --- conf/systemd.service | 2 +- scripts/_common.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 8451839..65b2f60 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,6 +1,6 @@ [Unit] Description=The Rocket.Chat server -Wants=__MONGODB_SERVICENAME__.service +#Wants=__MONGODB_SERVICENAME__.service After=network.target remote-fs.target nss-lookup.target nginx.service __MONGODB_SERVICENAME__.service [Service] diff --git a/scripts/_common.sh b/scripts/_common.sh index 157327b..87ac1c2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -324,12 +324,11 @@ ynh_mongo_remove_db() { # # ynh_install_mongo() { - ynh_print_info --message="Installing MongoDB..." + ynh_script_progression --message="Installing MongoDB..." --weight=5 # Define Mongo Service Name if $(dpkg --compare-versions $(cat /etc/debian_version) gt "10.0") then - ynh_print_info --message="Installing MongoDB Community Edition..." ynh_install_extra_app_dependencies --repo="$MONGO_CE_REPO" --package="$MONGO_CE_DEPENDENCIES" --key="$MONGO_CE_KEY" MONGODB_SERVICENAME=$MONGO_CE_SERVICENAME else