Fix service name for LemonLDAP::NG

tags/0.1.1
Daniel Berteaud 12 years ago
parent adb52654d7
commit 92e8668ff5
  1. 4
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service40LemonLDAPNG

@ -1,7 +1,7 @@
{ {
my $status = ${'lemonldap-ng'}{'status'} || 'disabled'; my $status = ${'lemonldap'}{'status'} || 'disabled';
my $f2b = ${'lemonldap-ng'}{'Fail2Ban'} || 'enabled'; my $f2b = ${'lemonldap'}{'Fail2Ban'} || 'enabled';
return "" if (($status ne 'enabled') || ($f2b ne 'enabled')); return "" if (($status ne 'enabled') || ($f2b ne 'enabled'));
my @ports = (); my @ports = ();
push @ports, (${'httpd-e-smith'}{'TCPPort'} || '80'); push @ports, (${'httpd-e-smith'}{'TCPPort'} || '80');

Loading…
Cancel
Save