Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

Update core.sh

aapanel.com260d5644901b
diff --git a/Dockerfiles/core/core.sh b/Dockerfiles/core/core.sh
index 98035fd7..b7cf0914 100644
--- a/Dockerfiles/core/core.sh
+++ b/Dockerfiles/core/core.sh
@@ -45,9 +45,10 @@ if [[ ${FAIL2BAN_INIT} == "y" ]]; then
if ! grep -q "restart_fail2ban.sh" /var/spool/cron/crontabs/root; then
chmod +x /restart_fail2ban.sh
- echo "02 */12 * * * bash /restart_fail2ban.sh" >> /var/spool/cron/crontabs/root
+ echo "02 0,12 * * * bash /restart_fail2ban.sh" >> /var/spool/cron/crontabs/root
pkill -9 crond
fi
+ bash /restart_fail2ban.sh
else
rm -f /etc/fail2ban/jail.d/core-accesslimit.conf