forked from norman/fusionpbx-install.sh-github-mirror
Update fail2ban.sh
This commit is contained in:
3
debian/resources/fail2ban.sh
vendored
3
debian/resources/fail2ban.sh
vendored
@@ -6,6 +6,7 @@ cd "$(dirname "$0")"
|
|||||||
#includes
|
#includes
|
||||||
. ./config.sh
|
. ./config.sh
|
||||||
. ./colors.sh
|
. ./colors.sh
|
||||||
|
. ./resources/environment.sh
|
||||||
|
|
||||||
#send a message
|
#send a message
|
||||||
verbose "Installing Fail2ban"
|
verbose "Installing Fail2ban"
|
||||||
@@ -32,4 +33,4 @@ cp fail2ban/jail.local /etc/fail2ban/jail.local
|
|||||||
#fi
|
#fi
|
||||||
|
|
||||||
#restart fail2ban
|
#restart fail2ban
|
||||||
/usr/sbin/service fail2ban restart
|
service fail2ban restart
|
||||||
|
|||||||
Reference in New Issue
Block a user