15 lines
312 B
Desktop File
15 lines
312 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
|
|
Restart=on-failure
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|