Parent Directory | Revision Log | Revision Graph
* Wed Oct 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-9.sme - propagate configuration changes to fail2ban after submiting changes [SME: 10817]
1 | diff -Nur smeserver-fail2ban-0.1.18.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm smeserver-fail2ban-0.1.18/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm |
2 | --- smeserver-fail2ban-0.1.18.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm 2019-10-16 21:50:53.945000000 -0400 |
3 | +++ smeserver-fail2ban-0.1.18/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm 2019-10-16 21:51:01.294000000 -0400 |
4 | @@ -350,6 +350,12 @@ |
5 | $fm->error('ERROR_UPDATING'); |
6 | return undef; |
7 | } |
8 | + |
9 | + unless ( system( "/sbin/e-smith/signal-event", "fail2ban-conf" ) == 0 ) |
10 | + { |
11 | + $fm->error('ERROR_UPDATING'); |
12 | + return undef; |
13 | + } |
14 | |
15 | if ( $rec->prop('status') eq 'disabled' ) |
16 | { |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |