Running Home Assistant with Docker (docker-compose) · Chris ...
chrisschuld.com › 2019 › 09Sep 30, 2019 · Create the following file for automating the service on startup /etc/systemd/system/home-assistant.service. # /etc/systemd/system/home-assistant.service [Unit] Description=Home Assistant Service Requires=docker.service After=docker.service [Service] WorkingDirectory=/root ExecStart=/usr/local/bin/docker-compose up ExecStop=/usr/local/bin/docker-compose down TimeoutStartSec=0 Restart=on-failure StartLimitIntervalSec=60 StartLimitBurst=3 [Install] WantedBy=multi-user.target.