13 lines
382 B
SYSTEMD
13 lines
382 B
SYSTEMD
|
[Unit]
|
||
|
Description=Starlink GRPC to MQTT exporter
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
WorkingDirectory=/opt/starlink-grpc-tools/
|
||
|
Environment=MQTT_HOST=localhost MQTT_PORT=1883 MQTT_USERNAME=<changeme> MQTT_PASSORD=<changeme> MQTT_SSL=false
|
||
|
ExecStart=/opt/starlink-grpc-tools/venv/bin/python3 dish_grpc_mqtt.py -t 10 status alert_detail
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|