fail2ban-prometheus-exporter/examples/systemd
Hector 23e073ffde feat: add example systemd service file
Add a basic systemd service file to serve as an example on how to run the
exporter as a system service. Add short README with an overview of the
service file.
2022-02-20 09:05:38 +00:00
..
fail2ban_exporter.service feat: add example systemd service file 2022-02-20 09:05:38 +00:00
README.md feat: add example systemd service file 2022-02-20 09:05:38 +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.