Browse Source

Update homeassistant-core-install.sh

update `homeassistant.service`
tteckster 2 years ago
parent
commit
c542221883
1 changed files with 1 additions and 0 deletions
  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