Selaa lähdekoodia

Update homeassistant-core-install.sh

update `homeassistant.service`
tteckster 2 vuotta sitten
vanhempi
commit
c542221883
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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