瀏覽代碼

Update esphome-install.sh

- revert https://github.com/tteck/Proxmox/commit/5dc1cf587096c05eacd5b82693886886d6eca802
- fixes https://github.com/tteck/Proxmox/issues/2062
tteckster 1 年之前
父節點
當前提交
03ea3fb8dd
共有 1 個文件被更改,包括 2 次插入1 次删除
  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