mirror of https://github.com/fail2ban/fail2ban
![]() This commit adds a new function checkconfig() to the OpenRC service script. All it does is run the server with the "--test" flag in addition to the usual command-line arguments. The new command is not user-facing, but lets us avoid restarting the daemon with a broken config. That helps when the user changes his configuration while the daemon is running, and then tries to restart() not knowing that the new config is broken. A priori, we would stop the daemon and then the error would only become visible when the subsequent start() command failed. Refusing to stop() with a broken configuration is a nicer thing to do. |
||
---|---|---|
.. | ||
cacti | ||
logwatch | ||
monit | ||
nagios | ||
bash-completion | ||
debian-initd | ||
fail2ban-logrotate | ||
fail2ban-openrc.conf | ||
fail2ban-openrc.init.in | ||
fail2ban-tmpfiles.conf | ||
fail2ban.service.in | ||
fail2ban.upstart | ||
gen_badbots | ||
ipmasq-ZZZzzz_fail2ban.rul | ||
macosx-initd | ||
redhat-initd | ||
solaris-fail2ban.xml | ||
solaris-svc-fail2ban | ||
suse-initd |