NebraLtd / hm-gatewayrs

Light Hotspot (gateway-rs) Container for Helium
MIT License
5 stars 9 forks source link

Start script should be robust to errors #24

Closed shawaj closed 1 year ago

shawaj commented 2 years ago

The startup script is currently brittle because it is written in bash. Rewriting with python will make it more robust to failures.

Original notes: convert the startup script to python and use the helper functions in hm-pyhelper for the functions there There isn't much to do here.

Acceptance criteria

pritamghanghas commented 2 years ago

@shawaj old miner was using .sh. Do we want to convert it only for getting variant information? At this stage I see only thing that can come from there is i2c bus. This can be made available through docker env as well, gen_docker_compose already knows about the bus.