ESPHome: Fix Linking issue (#5685)

This commit is contained in:
CanbiZ 2025-07-04 11:36:15 +02:00 committed by GitHub
parent cb24880115
commit aad2dd6232
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -73,6 +73,11 @@ EOF
msg_ok "Updated systemd service"
fi
msg_info "Linking esphome to /usr/local/bin"
rm -f /usr/local/bin/esphome
ln -s /opt/esphome/.venv/bin/esphome /usr/local/bin/esphome
msg_ok "Linked esphome binary"
msg_info "Starting ${APP}"
systemctl start esphomeDashboard
msg_ok "Started ${APP}"