1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00
dockerfiles/hass/hass.service
2018-10-19 07:41:22 +08:00

13 lines
209 B
Desktop File

[Unit]
Description=Home Assistant
After=network-online.target
[Service]
WorkingDirectory=/opt/hass
ExecStart=/usr/local/bin/hass -c /opt/hass
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target