init
This commit is contained in:
parent
fd21f27db5
commit
3949b0e714
13
netapp_exporter.service
Normal file
13
netapp_exporter.service
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=NetApp Exporter for Prometheus
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/opt/netapp_exporter
|
||||||
|
ExecStart=/usr/bin/python3 /opt/netapp_exporter/netapp_exporter.py
|
||||||
|
Restart=always
|
||||||
|
StandardOutput=append:/var/log/netapp_exporter.log
|
||||||
|
StandardError=append:/var/log/netapp_exporter.log
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user