Ticket #40121: patch-fail2ban-server.diff
File patch-fail2ban-server.diff, 802 bytes (added by nonstop.server@…, 11 years ago) |
---|
-
fail2ban-server
old new 29 29 try: 30 30 from common.version import version 31 31 except ImportError, e: 32 sys.path.insert(1, " /usr/share/fail2ban")32 sys.path.insert(1, "@@PREFIX@@/share/fail2ban") 33 33 from common.version import version 34 34 35 35 from server.server import Server … … 53 53 self.__conf = dict() 54 54 self.__conf["background"] = True 55 55 self.__conf["force"] = False 56 self.__conf["socket"] = " /var/run/fail2ban/fail2ban.sock"57 self.__conf["pidfile"] = " /var/run/fail2ban/fail2ban.pid"56 self.__conf["socket"] = "@@PREFIX@@/var/run/fail2ban/fail2ban.sock" 57 self.__conf["pidfile"] = "@@PREFIX@@/var/run/fail2ban/fail2ban.pid" 58 58 59 59 def dispVersion(self): 60 60 print "Fail2Ban v" + version