bundlewrap/bundles/homeassistant/files/homeassistant.service

16 lines
312 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
Restart=on-failure
RestartSec=2
2022-12-22 16:36:26 +00:00
[Install]
WantedBy=multi-user.target