From f575961c5f01d9dbcea217447169f1143cdaa253 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 28 Mar 2022 11:41:39 +0200 Subject: [PATCH] Cleaning up --- scripts/restore | 2 +- scripts/upgrade | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/scripts/restore b/scripts/restore index a4410cc..133ee67 100755 --- a/scripts/restore +++ b/scripts/restore @@ -80,7 +80,7 @@ chmod +x "$final_path/listmonk" ynh_script_progression --message="Reinstalling dependencies..." --weight=10 # Define and install dependencies -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies #================================================= # RESTORE THE MYSQL DATABASE diff --git a/scripts/upgrade b/scripts/upgrade index 330efcc..c17a97c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -101,7 +101,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Upgrading dependencies..." --weight=10 -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies #================================================= # UPDATE A CONFIG FILE @@ -144,14 +144,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=3 ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" -#================================================= -# UPGRADE FAIL2BAN -#================================================= -ynh_script_progression --message="Reconfiguring Fail2Ban..." --weight=1 - -# Create a dedicated Fail2Ban config -ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex="Regex to match into the log for a failed login" - #================================================= # RELOAD NGINX #=================================================