mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Update comments in action
jail.conf shall be unmodified (jails are ideally in jail.local or jail.d/*.conf)
This commit is contained in:
parent
05f6ad4fcc
commit
3bead7c011
1 changed files with 5 additions and 9 deletions
|
|
@ -31,12 +31,10 @@
|
|||
# # /etc/fail2ban/apprise.conf
|
||||
# fail2ban=mailto://user:pass@example.com
|
||||
# ```
|
||||
# 2 In /etc/fail2ban/jail.conf
|
||||
# 2 In jail:
|
||||
# ```
|
||||
# # ...
|
||||
# action = %(action_)s
|
||||
# apprise[args='--tag fail2ban']
|
||||
# # ...
|
||||
# ```
|
||||
#
|
||||
# Config Example #2: YAML an Custom path
|
||||
|
|
@ -47,21 +45,19 @@
|
|||
# - mailto://user:pass@example.com:
|
||||
# tags: f2b
|
||||
# ```
|
||||
# 2. In /etc/fail2ban/jail.conf
|
||||
# 2. In jail:
|
||||
# ```
|
||||
# # ...
|
||||
# action = %(action_)s
|
||||
# apprise[config='/etc/fail2ban/apprise.yaml',args='--tag f2b']
|
||||
# # ...
|
||||
# ```
|
||||
#
|
||||
# Config Example #3: Apprise API
|
||||
# 1. in /etc/fail2ban/jail.conf
|
||||
# 1. In jail:
|
||||
# ```
|
||||
# # ...
|
||||
# action = %(action_)s
|
||||
# apprise[config='http://apprise.example.ca/get/mykey',args='-g f2b']
|
||||
# # ...
|
||||
# ```
|
||||
|
||||
[Definition]
|
||||
|
||||
# Option: actionstart
|
||||
|
|
|
|||
Loading…
Reference in a new issue