From cee70c258d4cbc99f3fd01cbd29e31d91b3b7c2a Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Thu, 19 Dec 2024 23:24:10 +0100 Subject: [PATCH] fail2ban - unban fix sorry for my mistake --- x-ui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-ui.sh b/x-ui.sh index bfc62766..8a70c5be 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -1391,7 +1391,7 @@ iplimit_main() { 3) confirm "Proceed with Unbanning everyone from IP Limit jail?" "y" if [[ $? == 0 ]]; then - systemctl restart fail2ban + fail2ban-client reload --restart --unban 3x-ipl truncate -s 0 "${iplimit_banned_log_path}" echo -e "${green}All users Unbanned successfully.${plain}" iplimit_main