Home-AssistantConfig/config/shell_scripts/HAUpdate.sh

19 lines
340 B
Bash
Executable File

# ## These scripts are run from /home/pi
#
# #!/bin/bash
#
# cd /home/hass/.homeassistant
# source /srv/hass/hass_venv/bin/activate
#
# echo "Processing update"
# pip3 install --upgrade homeassistant
#
# hass --script check_config
# exit
#!/bin/bash
cd /home/hass/docker_files
docker-compose down
docker-compose pull
docker-compose up -d