Explorar o código

Update esphome-install.sh

- revert https://github.com/tteck/Proxmox/commit/5dc1cf587096c05eacd5b82693886886d6eca802
- fixes https://github.com/tteck/Proxmox/issues/2062
tteckster hai 1 ano
pai
achega
03ea3fb8dd
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      install/esphome-install.sh

+ 2 - 1
install/esphome-install.sh

@@ -29,6 +29,7 @@ $STD apt-get install -y \
 msg_ok "Updated Python3"
 
 msg_info "Installing ESPHome"
+mkdir /root/config
 $STD pip install esphome tornado esptool
 msg_ok "Installed ESPHome"
 
@@ -39,7 +40,7 @@ Description=ESPHome Dashboard
 After=network.target
 
 [Service]
-ExecStart=/usr/local/bin/esphome dashboard /root/.config/
+ExecStart=/usr/local/bin/esphome dashboard /root/config/
 Restart=always
 User=root