mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-28 16:01:56 +00:00
Update esphome-install.sh
revert to standard install
This commit is contained in:
parent
53e5964633
commit
697b409600
@ -30,10 +30,10 @@ rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
|||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Installing ESPHome"
|
msg_info "Installing ESPHome"
|
||||||
mkdir /srv/esphome
|
#mkdir /srv/esphome
|
||||||
cd /srv/esphome
|
#cd /srv/esphome
|
||||||
python3 -m venv .
|
#python3 -m venv .
|
||||||
source bin/activate
|
#source bin/activate
|
||||||
$STD pip install esphome tornado esptool
|
$STD pip install esphome tornado esptool
|
||||||
msg_ok "Installed ESPHome"
|
msg_ok "Installed ESPHome"
|
||||||
|
|
||||||
@ -44,7 +44,8 @@ Description=ESPHome Dashboard
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/srv/esphome/bin/esphome dashboard /root/config/
|
#ExecStart=/srv/esphome/bin/esphome dashboard /root/config/
|
||||||
|
ExecStart=/usr/local/bin/esphome dashboard /root/config/
|
||||||
Restart=always
|
Restart=always
|
||||||
User=root
|
User=root
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user