Hi,
I have a fedora22 install and would like to use fail2ban to restart a
script based on a specific event. I have the following conf file:

logpath  = /var/log/changepass.log
failregex  = .* host=<HOST> user=.*SYSTEMERROR$
actionstart = /etc/fail2ban/scripts/changepass_restart.sh

The failregex is correct, as it logs the entry in fail2ban.log, but
the script apparently doesn't get executed. Running it manually works
as expected.

Is there something more that I need to run this script properly? I
don't really need the <HOST> or any other variable - the script just
restarts another program.

Thanks for any ideas,
Alex

------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to