1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +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