mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 01:55:29 +02:00
chore: Remove wrapper script for fail2ban service (#3032)
* chore: Remove the wrapper script for `fail2ban` - This does not appear necessary. The server can be run with foreground mode. - `daemons-stack.sh` removal of the socket can be handled by the fail2ban server when using the `-x` option. * chore: Remove `touch /var/log/auth.log` These were both added as supposed fixes in 2016 for the then Ubuntu 2014 base image. Removing them causes no failures in tests. * fix: Install optional python packages for `fail2ban` These have barely any overhead in layer weight. The DNS package may provide some QoL improvements, while the `pyinotify` is a better alternative than polling logs to check for updates. We have `gamin` package installed but `fail2ban` would complain in the log that it was not able to initialize the module for it. There only appears to be a `python-gamin` dependent on EOL python 2, no longer available from Debian Bullseye.
This commit is contained in:
parent
14829a8459
commit
3d8cfc5b5a
5 changed files with 2 additions and 38 deletions
|
@ -40,7 +40,7 @@ autostart=false
|
|||
autorestart=true
|
||||
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
command=/usr/local/bin/fail2ban-wrapper.sh
|
||||
command=/usr/bin/fail2ban-server -xf start
|
||||
|
||||
[program:opendkim]
|
||||
startsecs=0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue