reload fail2ban instead of restart ... restart is doing some funky stuff ...

This commit is contained in:
Alexandre Aubin 2021-04-15 14:27:40 +02:00
parent 95999feafb
commit c3754dd6fa

View file

@ -24,7 +24,7 @@ do_post_regen() {
regen_conf_files=$1
[[ -z "$regen_conf_files" ]] \
|| service fail2ban restart
|| systemctl reload fail2ban
}
FORCE=${2:-0}