bundlewrap/bundles/homeassistant/files/homeassistant.service
2022-12-22 17:37:13 +01:00

13 lines
275 B
Desktop File

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