mirror of https://github.com/fail2ban/fail2ban
backend "systemd" can be used as prefix now - `backend = systemd[...]`
parent
7ed6cab120
commit
35b5fea038
|
@ -192,7 +192,7 @@ class JailReader(ConfigReader):
|
|||
stream = []
|
||||
for opt in self.__opts:
|
||||
if opt == "logpath" and \
|
||||
self.__opts.get('backend', None) != "systemd":
|
||||
not self.__opts.get('backend', None).startswith("systemd"):
|
||||
found_files = 0
|
||||
for path in self.__opts[opt].split("\n"):
|
||||
path = path.rsplit(" ", 1)
|
||||
|
|
Loading…
Reference in New Issue