ha-location-exporter/ha-location-export.service

15 lines
308 B
SYSTEMD

[Unit]
Description=Home Assistant Location Export
After=network.target
[Service]
Type=simple
User=homeassistant
ExecStart=/srv/ha-location-exporter/venv/bin/python /srv/ha-location-exporter/main.py
SyslogIdentifier=ha-location-exporter
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target