Update esphome-install.sh

move /config to /.config
This commit is contained in:
tteckster 2023-11-04 09:17:47 -04:00 committed by GitHub
parent b918091d6b
commit 5dc1cf5870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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