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

[Service]
User=nobody
Group=nobody
NoNewPrivileges=true
ProtectHome=true
ProtectSystem=strict
CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_NET_ADMIN CAP_NET_RAW
AmbientCapabilities=CAP_DAC_READ_SEARCH CAP_NET_ADMIN CAP_NET_RAW
Restart=on-failure
ExecStart=/usr/bin/iptables_exporter

[Install]
WantedBy=multi-user.target