inital commit
This commit is contained in:
15
ttn-vegapulsair-exporter.service
Normal file
15
ttn-vegapulsair-exporter.service
Normal file
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=TTN Exporter for VEGAPULS Air
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
RestartSec=2s
|
||||
Type=oneshot
|
||||
User=prometheus
|
||||
Group=prometheus
|
||||
WorkingDirectory=/opt/ttn-vegapulsair-exporter/
|
||||
ExecStart=/usr/bin/python3 /opt/ttn-vegapulsair-exporter/ttn-vegapulsair-exporter.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user