Update install.sh

pull/621/head
Mr Chen 10 months ago
parent 3729146b80
commit eb55ff7c30
  1. 4
      plugins/fail2ban/install.sh

@ -20,15 +20,11 @@ Install_App()
apt install -y fail2ban
mkdir -p $serverPath/fail2ban
sed '/^ *#/d' fail2ban.conf > $serverPath/fail2ban/redis.conf
echo "${VERSION}" > $serverPath/fail2ban/version.pl
echo '安装fail2ban完成'
cd ${rootPath} && python3 ${rootPath}/plugins/fail2ban/index.py start
cd ${rootPath} && python3 ${rootPath}/plugins/fail2ban/index.py initd_install
}
Uninstall_App()

Loading…
Cancel
Save