Ticket #34229: patch-fail2ban-client.diff

File patch-fail2ban-client.diff, 664 bytes (added by fclaire@…, 13 years ago)
  • fail2ban-client

    old new  
    3333
    3434# Inserts our own modules path first in the list
    3535# fix for bug #343821
    36 sys.path.insert(1, "/usr/share/fail2ban")
     36sys.path.insert(1, "@@PREFIX@@/share/fail2ban")
    3737
    3838# Now we can import our modules
    3939from common.version import version
     
    5959                self.__stream = None
    6060                self.__configurator = Configurator()
    6161                self.__conf = dict()
    62                 self.__conf["conf"] = "/etc/fail2ban"
     62                self.__conf["conf"] = "@@PREFIX@@/etc/fail2ban"
    6363                self.__conf["dump"] = False
    6464                self.__conf["force"] = False
    6565                self.__conf["verbose"] = 1