mirror of https://github.com/fail2ban/fail2ban
Updated How fail2ban substitution resp. runtime interpolation works (markdown)
parent
33d5baf314
commit
62a97244c7
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue