From 777d5f66b374a4f5a9d0c22d094372024b7eaea2 Mon Sep 17 00:00:00 2001 From: Limezy Date: Sat, 6 Nov 2021 00:25:32 +0700 Subject: [PATCH] Updates --- scripts/install | 2 +- scripts/remove | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/install b/scripts/install index 76824a5..57513d5 100755 --- a/scripts/install +++ b/scripts/install @@ -342,7 +342,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap ynh_script_progression --message="Configuring Fail2Ban..." --time --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" +ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" #================================================= # SETUP SSOWAT diff --git a/scripts/remove b/scripts/remove index 79b9812..c9316e0 100755 --- a/scripts/remove +++ b/scripts/remove @@ -76,14 +76,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." -- # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# REMOVE PHP-FPM CONFIGURATION -#================================================= -ynh_script_progression --message="Removing PHP-FPM configuration..." --time --weight=1 - -# Remove the dedicated PHP-FPM config -ynh_remove_fpm_config - #================================================= # CLOSE A PORT #=================================================