fail2ban-prometheus-exporter/_examples/systemd
Hector deabab8363 chore: update example systemd file (!115)
- Update the example systemd file to be more complete
- Added description, documentation link, and some improved service settings

https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/115
2023-10-27 06:23:20 +00:00
..
fail2ban_exporter.service chore: update example systemd file (!115) 2023-10-27 06:23:20 +00:00
README.md chore: rename examples folder (!94) 2023-06-22 14:22:31 +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.