Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto_rx.service starting before other required services on Native install #836

Open
drive-c opened this issue Nov 27, 2023 · 0 comments
Open

Comments

@drive-c
Copy link

drive-c commented Nov 27, 2023

Device:

  • 2012 Raspberry Pi B
  • Raspberry Pi OS Lite (32-Bit), 2023-10-10 release (Kernel 6.1, Debian 12 Bookworm)
  • RTL-SDR v3

Issue:

auto_rx.service appears to start before other required services on a Native install. This is noticeable on reboot or power cycle as the flask web UI fails to connect on another LAN device and it appears that SondeHub doesn't receive data from the device after any amount of time. Manually stopping and starting auto_rx.service after the system is up for a few minutes has the app work as expected.

Temporary Workaround:

Adjusting the auto_rx.service at /etc/systemd/system/ to include ExecStartPre=/bin/sleep 60 before ExecStart seems to give the rest of the system enough time to come up before auto_rx.service launches.

Notes:

Obviously, my hardware is very old. It could be reasonably expected that other required items like flask or system network services would be up and running faster on newer hardware. I'm certain that I could figure out what other processes I could put in After= would solve it, but I simply don't have the knowledge to fix this in a pull request without inadvertently breaking something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant