Ticket #49026: patch-config-fail2ban.conf.diff

File patch-config-fail2ban.conf.diff, 1.1 KB (added by fclaire@…, 9 years ago)
  • config/fail2ban.conf

    old new  
    4646#         communicate with the server afterwards.
    4747# Values: [ FILE ]  Default: /var/run/fail2ban/fail2ban.sock
    4848#
    49 socket = /var/run/fail2ban/fail2ban.sock
     49socket = @@PREFIX@@/var/run/fail2ban/fail2ban.sock
    5050
    5151# Option: pidfile
    5252# Notes.: Set the PID file. This is used to store the process ID of the
    5353#         fail2ban server.
    5454# Values: [ FILE ]  Default: /var/run/fail2ban/fail2ban.pid
    5555#
    56 pidfile = /var/run/fail2ban/fail2ban.pid
     56pidfile = @@PREFIX@@/var/run/fail2ban/fail2ban.pid
    5757
    5858# Options: dbfile
    5959# Notes.: Set the file for the fail2ban persistent data to be stored.
     
    6161#         and data is lost when fail2ban is stopped.
    6262#         A value of "None" disables the database.
    6363# Values: [ None :memory: FILE ] Default: /var/lib/fail2ban/fail2ban.sqlite3
    64 dbfile = /var/lib/fail2ban/fail2ban.sqlite3
     64dbfile = @@PREFIX@@/var/run/fail2ban/fail2ban.sqlite3
    6565
    6666# Options: dbpurgeage
    6767# Notes.: Sets age at which bans should be purged from the database