mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-15 01:54:33 +00:00
Quick update to Solar stats maybe @dale3h
This commit is contained in:
12
config/shell_scripts/gitpull.sh
Executable file
12
config/shell_scripts/gitpull.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
cd /home/hass/docker_files
|
||||
docker-compose exec home-assistant python -m homeassistant --config /config --script check_config
|
||||
|
||||
cd /home/hass/docker_files/homeassistant
|
||||
git pull origin master
|
||||
|
||||
cd /home/hass/docker_files
|
||||
docker-compose exec home-assistant python -m homeassistant --config /config --script check_config
|
||||
|
||||
cd ~
|
||||
exit
|
Reference in New Issue
Block a user