ha-noaa-space-weather/vtec.service

15 lines
345 B
SYSTEMD
Raw Normal View History

2024-08-16 23:20:58 -06:00
[Unit]
Description=Space Weather VTEC
After=network.target
[Service]
Type=simple
User=homeassistant
EnvironmentFile=/etc/secrets/space-weather
2024-08-16 23:38:59 -06:00
ExecStart=/srv/space-weather/ha-noaa-space-weather-sensor/venv/bin/python /srv/space-weather/ha-noaa-space-weather-sensor/main.py
2024-08-16 23:20:58 -06:00
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target