prometheus-fail2ban-exporte.../systemd.service
2023-06-05 22:49:25 +02:00

18 lines
316 B
Desktop File

[Unit]
Description=Prometheus exporter for fail2ban metrics
Requires=network-online.target
After=network-online.target
[Service]
ExecStart=/usr/bin/fail2ban-exporter
ExecReload=/bin/kill -HUP $MAINPID
User=root
Group=root
Restart=on-failure
RestartSec=5s
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target