mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-08-27 03:46:05 +00:00
- Added "socket" option in "fail2ban.conf"
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@407 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
7989e66270
commit
c8fdabf001
4 changed files with 29 additions and 9 deletions
|
|
@ -38,6 +38,10 @@ class Fail2banReader(ConfigReader):
|
|||
def read(self):
|
||||
ConfigReader.read(self, "fail2ban")
|
||||
|
||||
def getEarlyOptions(self):
|
||||
opts = [["string", "socket", "/tmp/fail2ban.sock"]]
|
||||
return ConfigReader.getOptions(self, "Definition", opts)
|
||||
|
||||
def getOptions(self):
|
||||
opts = [["int", "loglevel", 1],
|
||||
["string", "logtarget", "STDERR"]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue