mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-08-30 06:46:17 +00:00
Stop fail2ban if it is already installed
This commit is contained in:
parent
928d88f131
commit
0eb7e706ed
1 changed files with 1 additions and 0 deletions
1
x-ui.sh
1
x-ui.sh
|
@ -717,6 +717,7 @@ install_iplimit() {
|
||||||
esac
|
esac
|
||||||
echo -e "${green}Fail2ban installed successfully!${plain}\n"
|
echo -e "${green}Fail2ban installed successfully!${plain}\n"
|
||||||
else
|
else
|
||||||
|
sudo systemctl stop fail2ban
|
||||||
echo -e "${yellow}Fail2ban is already installed.${plain}\n"
|
echo -e "${yellow}Fail2ban is already installed.${plain}\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue