|
|
@ -3,9 +3,12 @@ |
|
|
|
use esmith::Build::CreateLinks qw(:all); |
|
|
|
use esmith::Build::CreateLinks qw(:all); |
|
|
|
|
|
|
|
|
|
|
|
templates2events("/etc/rc.d/init.d/masq", "fail2ban-update"); |
|
|
|
templates2events("/etc/rc.d/init.d/masq", "fail2ban-update"); |
|
|
|
templates2events("/etc/fail2ban/jail.conf", "fail2ban-conf"); |
|
|
|
|
|
|
|
templates2events("/etc/fail2ban/fail2ban.conf", "fail2ban-conf"); |
|
|
|
foreach my $event qw(fail2ban-conf bootstrap-console-save){ |
|
|
|
templates2events("/etc/logrotate.d/fail2ban", "fail2ban-conf"); |
|
|
|
templates2events("/etc/fail2ban/jail.conf", "$event"); |
|
|
|
|
|
|
|
templates2events("/etc/fail2ban/fail2ban.conf", "$event"); |
|
|
|
|
|
|
|
templates2events("/etc/logrotate.d/fail2ban", "$event"); |
|
|
|
|
|
|
|
} |
|
|
|
safe_symlink("adjust", "root/etc/e-smith/events/fail2ban-update/services2adjust/masq"); |
|
|
|
safe_symlink("adjust", "root/etc/e-smith/events/fail2ban-update/services2adjust/masq"); |
|
|
|
safe_symlink("restart", "root/etc/e-smith/events/fail2ban-conf/services2adjust/fail2ban"); |
|
|
|
safe_symlink("restart", "root/etc/e-smith/events/fail2ban-conf/services2adjust/fail2ban"); |
|
|
|
|
|
|
|
|
|
|
|