summarylogtreecommitdiffstats
path: root/systemd.service
blob: b5ea6efdf088c14be7f9fc2a8b701d8632693ade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Prometheus exporter for fail2ban metrics
Requires=network-online.target
After=network-online.target

[Service]
ExecStart=/usr/bin/prometheus-fail2ban-exporter
ExecReload=/bin/kill -HUP $MAINPID
User=root
Group=root
Restart=on-failure
RestartSec=5s

NoNewPrivileges=true

[Install]
WantedBy=multi-user.target