update readme with new -h output & update dockerfile

This commit is contained in:
Hector
2022-01-30 19:01:42 +00:00
parent 315ecf4271
commit 94db2ec3de
3 changed files with 30 additions and 31 deletions

View File

@ -15,6 +15,6 @@ fi
# Start the exporter (use exec to support graceful shutdown)
# Inspired by: https://akomljen.com/stopping-docker-containers-gracefully/
exec /app/fail2ban-prometheus-exporter \
-socket "$socket_path" \
-collector.textfile=$textfile_enabled \
-collector.textfile.directory="$textfile_dir"
--socket "$socket_path" \
--collector.textfile=$textfile_enabled \
--collector.textfile.directory="$textfile_dir"