Ticket #34229: patch-fail2ban-server.diff
File patch-fail2ban-server.diff, 676 bytes (added by fclaire@…, 13 years ago) |
---|
-
fail2ban-server
old new 32 32 33 33 # Inserts our own modules path first in the list 34 34 # fix for bug #343821 35 sys.path.insert(1, " /usr/share/fail2ban")35 sys.path.insert(1, "@@PREFIX@@/share/fail2ban") 36 36 37 37 from common.version import version 38 38 from server.server import Server … … 56 56 self.__conf = dict() 57 57 self.__conf["background"] = True 58 58 self.__conf["force"] = False 59 self.__conf["socket"] = " /var/run/fail2ban/fail2ban.sock"59 self.__conf["socket"] = "@@PREFIX@@/var/run/fail2ban/fail2ban.sock" 60 60 61 61 def dispVersion(self): 62 62 print "Fail2Ban v" + version