Ticket #40121: patch-fail2ban-client.diff

File patch-fail2ban-client.diff, 667 bytes (added by nonstop.server@…, 11 years ago)
  • fail2ban-client

    old new  
    3030try:
    3131        from common.version import version
    3232except ImportError, e:
    33         sys.path.insert(1, "/usr/share/fail2ban")
     33        sys.path.insert(1, "@@PREFIX@@/share/fail2ban")
    3434        from common.version import version
    3535
    3636# Now we can import the rest of modules
     
    5656                self.__stream = None
    5757                self.__configurator = Configurator()
    5858                self.__conf = dict()
    59                 self.__conf["conf"] = "/etc/fail2ban"
     59                self.__conf["conf"] = "@@PREFIX@@/etc/fail2ban"
    6060                self.__conf["dump"] = False
    6161                self.__conf["force"] = False
    6262                self.__conf["verbose"] = 1