|
|
|
@ -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 \
|
|
|
|
|