From 62b6deb1c34fa9e1834b4f270801bf15c70af03e Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Tue, 30 Jun 2020 18:23:29 +0800
Subject: [PATCH] Update release tag in few download urls.
---
en_US/howto/fail2ban.sql.md | 8 ++++----
html/fail2ban.sql.html | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/en_US/howto/fail2ban.sql.md b/en_US/howto/fail2ban.sql.md
index 32540183..ca2c7dbb 100644
--- a/en_US/howto/fail2ban.sql.md
+++ b/en_US/howto/fail2ban.sql.md
@@ -72,7 +72,7 @@ also a SQL user `fail2ban`.
```
cd /tmp
-wget https://github.com/iredmail/iRedMail/raw/1.2/samples/fail2ban/sql/fail2ban.mysql
+wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/sql/fail2ban.mysql
```
* Run __SQL commands__ below as __MySQL `root` user__:
@@ -110,7 +110,7 @@ also a SQL user `fail2ban`.
```
cd /tmp
-wget https://github.com/iredmail/iRedMail/raw/1.2/samples/fail2ban/sql/fail2ban.pgsql
+wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/sql/fail2ban.pgsql
su - postgres
psql -d template1
```
@@ -143,10 +143,10 @@ ALTER DATABASE fail2ban OWNER TO fail2ban;
On Linux, run commands below as `root` user:
```
-wget https://github.com/iredmail/iRedMail/raw/1.2/samples/fail2ban/action.d/banned_db.conf
+wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/action.d/banned_db.conf
mv banned_db.conf /etc/fail2ban/action.d/
-wget https://github.com/iredmail/iRedMail/raw/1.2/samples/fail2ban/bin/fail2ban_banned_db
+wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/bin/fail2ban_banned_db
mv fail2ban_banned_db /usr/local/bin/
chmod 0550 /usr/local/bin/fail2ban_banned_db
```
diff --git a/html/fail2ban.sql.html b/html/fail2ban.sql.html
index 9a4c5e31..49e03081 100644
--- a/html/fail2ban.sql.html
+++ b/html/fail2ban.sql.html
@@ -93,7 +93,7 @@ also a SQL user fail2ban
.
Run commands below as root
user:
cd /tmp
-wget https://github.com/iredmail/iRedMail/raw/1.2/samples/fail2ban/sql/fail2ban.mysql
+wget https://github.com/iredmail/iRedMail/raw/master/samples/fail2ban/sql/fail2ban.mysql
@@ -131,7 +131,7 @@ also a SQL user fail2ban
.
postgres
and connect to SQL server:
cd /tmp
-wget https://github.com/iredmail/iRedMail/raw/1.2/samples/fail2ban/sql/fail2ban.pgsql
+wget https://github.com/iredmail/iRedMail/raw/master/samples/fail2ban/sql/fail2ban.pgsql
su - postgres
psql -d template1
@@ -163,10 +163,10 @@ ALTER DATABASE fail2ban OWNER TO fail2ban;
Add required Fail2ban config file and script
On Linux, run commands below as root
user:
-wget https://github.com/iredmail/iRedMail/raw/1.2/samples/fail2ban/action.d/banned_db.conf
+wget https://github.com/iredmail/iRedMail/raw/master/samples/fail2ban/action.d/banned_db.conf
mv banned_db.conf /etc/fail2ban/action.d/
-wget https://github.com/iredmail/iRedMail/raw/1.2/samples/fail2ban/bin/fail2ban_banned_db
+wget https://github.com/iredmail/iRedMail/raw/master/samples/fail2ban/bin/fail2ban_banned_db
mv fail2ban_banned_db /usr/local/bin/
chmod 0550 /usr/local/bin/fail2ban_banned_db