From 7724c1567c5a61b6883dde90347acf0549fb49c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 8 Jul 2022 09:10:12 +0200 Subject: [PATCH] Fix --- scripts/_common.sh | 2 +- scripts/change_url | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index ce29ced..23fd4f7 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -321,7 +321,7 @@ ynh_mongo_remove_db() { # # ynh_install_mongo() { - ynh_print_info --message="Installing MongoDB Community Edition..." + ynh_script_progression --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 diff --git a/scripts/change_url b/scripts/change_url index fa8970b..e1b3b8c 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -109,7 +109,8 @@ fi #================================================= ynh_script_progression --message="Updating systemd service..." --weight=1 -ynh_replace_string --match_string="Environment=ROOT_URL=*" --replace_string="Environment=ROOT_URL=https://$new_domain$new_path" --target_file="/etc/systemd/system/$app.service" +ynh_replace_string --match_string="Environment=ROOT_URL= *" --replace_string="Environment=ROOT_URL=https://$new_domain$new_path" --target_file="/etc/systemd/system/$app.service" +systemctl daemon-reload #================================================= # GENERIC FINALISATION