diff --git a/meta-hassio/recipes-support/hassio-host-controll/hassio-host-controll.bb b/meta-hassio/recipes-support/hassio-host-controll/hassio-host-controll.bb index 2a17c8e9b..5c25c5047 100644 --- a/meta-hassio/recipes-support/hassio-host-controll/hassio-host-controll.bb +++ b/meta-hassio/recipes-support/hassio-host-controll/hassio-host-controll.bb @@ -16,6 +16,7 @@ SYSTEMD_AUTO_ENABLE = "enable" RDEPENDS_${PN} = " \ bash \ socat \ + nohup \ " FILES_${PN} += " \ diff --git a/meta-hassio/recipes-support/hassio-host-controll/hassio-host-controll/hassio-hc b/meta-hassio/recipes-support/hassio-host-controll/hassio-host-controll/hassio-hc index f9838de19..6b63932c2 100644 --- a/meta-hassio/recipes-support/hassio-host-controll/hassio-host-controll/hassio-hc +++ b/meta-hassio/recipes-support/hassio-host-controll/hassio-host-controll/hassio-hc @@ -32,18 +32,18 @@ do fi if [ ${parse[0]} == "host-update" ]; then if [ ! -z ${parse[1]} ]; then - resinhub --hostos-version ${parse[1]} || true + nohup resinhub --hostos-version ${parse[1]} > /dev/null 2>&1 & else - resinhub || true + nohup resinhub > /dev/null 2>&1 & fi echo "OK" continue fi if [ ${parse[0]} == "supervisor-update" ]; then if [ ! -z ${parse[1]} ]; then - update-resin-supervisor --supervisor-tag ${parse[1]} || true + nohup update-resin-supervisor --supervisor-tag ${parse[1]} > /dev/null 2>&1 & else - update-resin-supervisor || true + nohup update-resin-supervisor > /dev/null 2>&1 & fi echo "OK" continue