Ticket #34229: patch-fail2ban-server.diff

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

    old new  
    3232
    3333# Inserts our own modules path first in the list
    3434# fix for bug #343821
    35 sys.path.insert(1, "/usr/share/fail2ban")
     35sys.path.insert(1, "@@PREFIX@@/share/fail2ban")
    3636
    3737from common.version import version
    3838from server.server import Server
     
    5656                self.__conf = dict()
    5757                self.__conf["background"] = True
    5858                self.__conf["force"] = False
    59                 self.__conf["socket"] = "/var/run/fail2ban/fail2ban.sock"
     59                self.__conf["socket"] = "@@PREFIX@@/var/run/fail2ban/fail2ban.sock"
    6060       
    6161        def dispVersion(self):
    6262                print "Fail2Ban v" + version