After initial installation of eFa 5.0, Fail2ban reports not able to start.
This is simply due to the mailwatch jail log file not existing yet. Fail2ban does not work until the log file is created (automatically when a php-fpm error log is recorded) and the server rebooted or Fail2ban service started manually.
Would it be possible to add this quick file create or a simple touch to the end of the eFa 5.0 installation script:
echo 'Initial log file creation (eFA setup)' > /var/log/php-fpm/www-error.log
Fail2ban does not start initially
- shawniverson
- Posts: 3770
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact: