Browse Source

Update homeassistant-core-install.sh

update `homeassistant.service`
tteckster 2 năm trước cách đây
mục cha
commit
c542221883
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      install/homeassistant-core-install.sh

+ 1 - 0
install/homeassistant-core-install.sh

@@ -91,6 +91,7 @@ After=network-online.target
 Type=simple
 WorkingDirectory=/root/.homeassistant
 ExecStart=/srv/homeassistant/bin/hass -c "/root/.homeassistant"
+Restart=always
 RestartForceExitStatus=100
 [Install]
 WantedBy=multi-user.target