From 33b1a9c42c97eafb3f5e7b8addb07da3c291949a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sat, 7 Apr 2018 20:51:59 +0200 Subject: [PATCH] changes to upgrade homeassistant script --- package/opt/hassbian/suites/homeassistant.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/opt/hassbian/suites/homeassistant.sh b/package/opt/hassbian/suites/homeassistant.sh index 0e5f50da..34ae29e9 100644 --- a/package/opt/hassbian/suites/homeassistant.sh +++ b/package/opt/hassbian/suites/homeassistant.sh @@ -99,8 +99,6 @@ EOF exit 1 fi fi -echo "Stopping Home Assistant" -systemctl stop home-assistant@homeassistant.service echo "Changing to the homeassistant user" sudo -u homeassistant -H /bin/bash << EOF @@ -121,7 +119,7 @@ deactivate EOF echo "Restarting Home Assistant" -systemctl start home-assistant@homeassistant.service +systemctl restart home-assistant@homeassistant.service echo "Checking the installation..." validation=$(pgrep -x hass)