Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-12-20 01:24:10 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-12-20 01:24:10 +0300
commit49295661fdeed0b4fe3bdc246368fd9f22ac5374 (patch)
treebe02848c08e394d2e53801cbb281ca3ada9c9173
parente4301f8d9358fd0f5d0c27742eaea0f3a17ebf42 (diff)
fail2ban - unban fix
sorry for my mistake
-rw-r--r--x-ui.sh2
1 files changed, 1 insertions, 1 deletions
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