bundlewrap/bundles/homeassistant/files/homeassistant.service

14 lines
280 B
SYSTEMD
Raw Normal View History

2022-12-22 16:36:26 +00:00
[Unit]
Description=Home Assistant
After=network-online.target
[Service]
Type=simple
User=homeassistant
WorkingDirectory=/var/opt/homeassistant
2022-12-22 17:59:27 +00:00
ExecStart=/opt/homeassistant/venv/bin/hass -c "/var/opt/homeassistant"
2022-12-22 16:36:26 +00:00
RestartForceExitStatus=100
[Install]
WantedBy=multi-user.target