Merge branch 'docs/add-dry-run-command-to-readme' into 'main'

docs: add dry run flag to readme

See merge request hectorjsmith/fail2ban-prometheus-exporter!100
This commit is contained in:
Hector 2023-06-22 18:37:01 +00:00
commit 0a132c83df

View File

@ -122,6 +122,8 @@ There are no configuration files.
Flags: Flags:
-h, --help Show context-sensitive help. -h, --help Show context-sensitive help.
-v, --version Show version info and exit -v, --version Show version info and exit
--dry-run Attempt to connect to the fail2ban socket then exit
before starting the server
--web.listen-address=":9191" Address to use for the metrics server --web.listen-address=":9191" Address to use for the metrics server
($F2B_WEB_LISTEN_ADDRESS) ($F2B_WEB_LISTEN_ADDRESS)
--collector.f2b.socket="/var/run/fail2ban/fail2ban.sock" --collector.f2b.socket="/var/run/fail2ban/fail2ban.sock"