2024-08-16 23:20:58 -06:00
|
|
|
[Unit]
|
2024-09-03 16:37:39 -06:00
|
|
|
Description=Space Weather MQTT
|
2024-08-16 23:20:58 -06:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=homeassistant
|
|
|
|
EnvironmentFile=/etc/secrets/space-weather
|
2024-09-03 16:37:39 -06:00
|
|
|
ExecStart=/srv/ha-noaa-space-weather/venv/bin/python /srv/ha-noaa-space-weather/feeder/mqtt.py
|
|
|
|
SyslogIdentifier=space-weather-mqtt
|
2024-08-16 23:20:58 -06:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=5s
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|