16 lines
315 B
Plaintext
16 lines
315 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
description="fail2ban exporter"
|
|
command="/usr/sbin/fail2ban_exporter"
|
|
|
|
# what to export
|
|
# See node_exporter --help
|
|
command_args="--collector.f2b.socket=/run/fail2ban/fail2ban.sock"
|
|
|
|
pidfile="/run/${RC_SVCNAME}.pid"
|
|
|
|
# node_exporter stay in backgroud
|
|
# make a pid for me
|
|
command_background=true
|
|
|