Skip to content

Commit

Permalink
Update fail2ban installation
Browse files Browse the repository at this point in the history
  • Loading branch information
joglomedia committed Apr 19, 2024
1 parent a1e7d14 commit 3390696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install_fail2ban.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ function init_fail2ban_install() {
# Convert to Python3 codebase
run python -m venv /opt/fail2ban/ && \
run /opt/fail2ban/bin/pip install --upgrade pip setuptools cffi 2to3 && \
#run ln -sf /opt/fail2ban/bin/2to3 /usr/local/bin/2to3 && \
#run ./fail2ban-2to3 && \
run ln -sf /opt/fail2ban/bin/2to3 /usr/local/bin/2to3 && \
run ./fail2ban-2to3 && \
run /opt/fail2ban/bin/python setup.py install && \
run ln -sf /opt/fail2ban/bin/fail2ban-client /usr/local/bin/fail2ban-client && \
run ln -sf /opt/fail2ban/bin/fail2ban-server /usr/local/bin/fail2ban-server && \
Expand Down

0 comments on commit 3390696

Please sign in to comment.