blob: d93376fff7dd391f87447dfd3a4807949e40daae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=Prometheus exporter for SNMP metrics
Requires=network-online.target
After=network-online.target
[Service]
EnvironmentFile=-/etc/conf.d/prometheus-snmp-exporter
ExecStart=/usr/bin/prometheus-snmp-exporter $SNMP_EXPORTER_ARGS
ExecReload=/bin/kill -HUP $MAINPID
User=snmp-exporter
Group=snmp-exporter
Restart=on-failure
NoNewPrivileges=true
ProtectSystem=true
[Install]
WantedBy=multi-user.target
|