mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
Merge #1858
1858: Docs: Replace hardcoded journald logpath with systemd backend r=mergify[bot] a=networkException The file at /var/log/messages is not universal for every distribution. Fail2ban can access journald logs directly by using the systemd backend. ## What type of PR? documentation ## What does this PR do? The path /var/log/messages does not apply for Ubuntu 20.04 for example, because of that I have looked at alternative ways to access journald in fail2ban. The proper way seems to be to use the systemd backend, this patch updates the documentation accordingly. ### Related issue(s) *none* ## Prerequistes Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [ ] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file. Co-authored-by: networkException <git@nwex.de>
This commit is contained in:
commit
de0536c694
@ -13,4 +13,4 @@ Before we can consider review and merge, please make sure the following list is
|
||||
If an entry in not applicable, you can check it or remove it from the list.
|
||||
|
||||
- [ ] In case of feature or enhancement: documentation updated accordingly
|
||||
- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.
|
||||
- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.
|
||||
|
@ -513,8 +513,8 @@ follow these steps:
|
||||
|
||||
[bad-auth]
|
||||
enabled = true
|
||||
backend = systemd
|
||||
filter = bad-auth
|
||||
logpath = /var/log/messages
|
||||
bantime = 604800
|
||||
findtime = 300
|
||||
maxretry = 10
|
||||
|
1
towncrier/newsfragments/1857.doc
Normal file
1
towncrier/newsfragments/1857.doc
Normal file
@ -0,0 +1 @@
|
||||
Update fail2ban documentation to use systemd backend instead of filepath for journald
|
Loading…
Reference in New Issue
Block a user