Update fail2ban.sh
This commit is contained in:
parent
e57b20b3e8
commit
b7e1ccb81e
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue