Explorar o código

fail2ban - unban fix

sorry for my mistake
mhsanaei hai 3 meses
pai
achega
49295661fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      x-ui.sh

+ 1 - 1
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