bundlewrap/bundles/homeassistant/files/homeassistant.service
2022-12-22 18:59:27 +01:00

13 lines
280 B
Desktop File

[Unit]
Description=Home Assistant
After=network-online.target
[Service]
Type=simple
User=homeassistant
WorkingDirectory=/var/opt/homeassistant
ExecStart=/opt/homeassistant/venv/bin/hass -c "/var/opt/homeassistant"
RestartForceExitStatus=100
[Install]
WantedBy=multi-user.target