fail2ban: remove Py2 and update

remove patch included in update
fix issues do to python3
fix init file

Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Armin Kuster
2019-08-28 08:44:31 -07:00
parent 9e40485f6e
commit c83f0682e4
6 changed files with 606 additions and 86 deletions
+8
View File
@@ -17,6 +17,14 @@
# Check that the config file exists
[ -f /etc/fail2ban/fail2ban.conf ] || exit 0
echo_success() {
echo -n "OK"
}
echo_failure() {
echo -n "FAIL"
}
check_privsep_dir() {
# Create the PrivSep empty dir if necessary
if [ ! -d /var/run/fail2ban ]; then