remove daemontools support, fail2ban doesn't play well with it because the daemon started standalone won't do anything before the client parse the config and send the param to the server

tags/0.0.1
Daniel Berteaud 12 years ago
parent b88a9b5f1a
commit d1369db297
  1. 5
      createlinks
  2. 6
      root/var/service/fail2ban/log/run
  3. 3
      root/var/service/fail2ban/run

@ -6,11 +6,8 @@ templates2events("/etc/rc.d/init.d/masq", "fail2ban-update");
templates2events("/etc/fail2ban/jail.conf", "fail2ban-conf"); templates2events("/etc/fail2ban/jail.conf", "fail2ban-conf");
templates2events("/etc/fail2ban/fail2ban.conf", "fail2ban-conf"); templates2events("/etc/fail2ban/fail2ban.conf", "fail2ban-conf");
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("adjust", "root/etc/e-smith/events/fail2ban-conf/services2adjust/fail2ban"); safe_symlink("restart", "root/etc/e-smith/events/fail2ban-conf/services2adjust/fail2ban");
service_link_enhanced("fail2ban", "S92", "7"); service_link_enhanced("fail2ban", "S92", "7");
service_link_enhanced("fail2ban", "K08", "6"); service_link_enhanced("fail2ban", "K08", "6");
service_link_enhanced("fail2ban", "K08", "0"); service_link_enhanced("fail2ban", "K08", "0");
safe_touch("root/var/service/fail2ban/down");
safe_symlink("../daemontools" , 'root/etc/rc.d/init.d/supervise/fail2ban');
safe_symlink("/var/service/fail2ban" , 'root/service/fail2ban');

@ -1,6 +0,0 @@
#!/bin/sh
exec \
/usr/local/bin/setuidgid smelog \
/usr/local/bin/multilog t s5000000 \
/var/log/fail2ban

@ -1,3 +0,0 @@
#!/bin/sh
exec /usr/bin/fail2ban-server -fx
Loading…
Cancel
Save