CT: esphome; fixed path in service file and update script

This commit is contained in:
brammp committed 2022-12-18 17:32:14 +01:00
1 parent d969dcb4e7
commit 978f0732a8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
service esphome stop
sudo -u esphome sh -c '. /opt/ESPHome/srv/activate && pip install --upgrade pip && pip3 install --upgrade tornado esptool esphome'
sudo -u esphome sh -c '. /opt/ESPHome/srv/bin/activate && pip install --upgrade pip && pip3 install --upgrade tornado esptool esphome'
service esphome start