summarylogtreecommitdiffstats
path: root/envoy-exporter.service
blob: d357c7471de07c712f377dbc1c7088013e4b8217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Prometheus exporter for Enphase Envoy Gateway
Documentation=https://github.com/benalexau/envoy-exporter
After=network.target

[Service]
User=envoy-exporter
Group=envoy-exporter
ExecStart=/usr/bin/envoy-exporter /etc/envoy-exporter.toml
LimitNOFILE=64
LimitNPROC=64
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
AmbientCapabilities=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target