Update comments in action

jail.conf shall be unmodified (jails are ideally in jail.local or jail.d/*.conf)
This commit is contained in:
Sergey G. Brester 2026-02-02 03:04:25 +01:00 committed by GitHub
parent 05f6ad4fcc
commit 3bead7c011
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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