From 769df2405f4c47e00ae664b6d26af75020cf7952 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 1 Dec 2021 07:59:02 -0500 Subject: [PATCH] Add files via upload --- core_setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core_setup.sh b/core_setup.sh index 8fd26882..eced7597 100644 --- a/core_setup.sh +++ b/core_setup.sh @@ -40,10 +40,10 @@ msg "Installing prerequisites..." apt-get install -y curl sudo python3 python3-dev python3-venv python3-pip libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libtiff5 libturbojpeg0 tzdata &>/dev/null msg "Installing Home Assistant Core..." -useradd -rm homeassistant &>/dev/null +sudo useradd -rm homeassistant &>/dev/null -mkdir /srv/homeassistant &>/dev/null -chown homeassistant:homeassistant /srv/homeassistant &>/dev/null +sudo mkdir /srv/homeassistant &>/dev/null +sudo chown homeassistant:homeassistant /srv/homeassistant &>/dev/null sudo -u homeassistant -H -s \ cd /srv/homeassistant \