On 21.10.20 06:27, Niresh wrote:
Thank you Tamro. I hope a trigger mechanism is not a problem because
continuous data exchange is happening between the AWS server and
controller through websocket. I can create a separate data packet to
initiate this trigger command to a controller to which I wish to
upgrade. In my case, only two executable binary files are required for
firmware update and which I must keep in the AWS server because data
privacy is very important.
It's not terribly relevant where the files are stored - it's hosting
them that requires some thinking. E.g. googling for "amazon aws host apt
repository" seems to come up with a few solutions - e.g.
https://www.aptly.info. I can't vouch for any of them.
I'm a newbie to the Linux environment. So, It would be very grateful if
you can explain to me with an example for better understanding or a link.
I'm sorry to say that automatic upgrades of running services on a Debian
box is quite the deep end to get thrown into as a newbie :) Mark's
suggestion is not an improper one in this case.
If you go the route of deb package and apt repository, I'd suggest
reading chapters 5, 6 and Debian Administrator's handbook
https://debian-handbook.info/browse/stable/ - this briefly explains how
they are used.
https://wiki.debian.org/DebianRepository/Setup has some info on how
repositories are set up. AWS-friendly Aptly is in there somewhwere.
Depending on your circumstances, you might want to look into creating a
systemd service out of your application:
https://linuxconfig.org/how-to-create-systemd-service-unit-in-linux
--
Kind regards,
Tarmo
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/2337d951-9226-703e-0e9f-bdeaa2554c82%40gmail.com.