Updated How fail2ban substitution resp. runtime interpolation works (markdown)

master
Sergey G. Brester 2024-06-08 01:52:15 +02:00
parent 33d5baf314
commit 62a97244c7
1 changed files with 2 additions and 2 deletions

@ -18,11 +18,11 @@ Since we support an extensions called "known" with syntax `%(known/option)s`, af
So try your luck with `cftoken = %(known/cftoken)s`
If you will set resp. deliver some init parameter from jail to filter or action, you can currently use another interpolation extension of us with another syntax `<option>` (Note: this is a run-time substitution):
If you will set or deliver some init parameter from jail to filter or action, you can currently use another interpolation extension of us with another syntax `<option>` (Note: this is a run-time substitution):
```ini
# action my-action.conf
[Definition]
cftoken = <cftoken>
something_using_cftoken = command --token="<cftoken>"
[Init]
cftoken = default value
```