From 3bead7c011aa5c695586203349599fa32f9d7fa9 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Mon, 2 Feb 2026 03:04:25 +0100 Subject: [PATCH] Update comments in action jail.conf shall be unmodified (jails are ideally in jail.local or jail.d/*.conf) --- config/action.d/apprise.conf | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/config/action.d/apprise.conf b/config/action.d/apprise.conf index 4b8708a3..899b1e5f 100644 --- a/config/action.d/apprise.conf +++ b/config/action.d/apprise.conf @@ -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