prometheus-fail2ban-exporter/_examples/systemd/README.md

8 lines
418 B
Markdown
Raw Normal View History

2023-10-02 10:50:34 +00:00
# Systemd
The `.service` file in this directory should be copied to the `/etc/systemd/system/` folder.
- It expects the binary file to be installed at `/usr/sbin/fail2ban_exporter`.
- It expects a user named `fail2ban_exporter` to exist. This user should not have a shell or any special privileges aside from read-access to the fail2ban socket file.
The `ExecStart` line can be modified to add any custom CLI flags.