keithma asked me to share a script I mentioned on another topic:
Pasted at https://p.gaa.st/view/042a84a8
It’s a very crude script that I ran as a 10min cronjob to automatically reboot my Pi if airspy_adsb didn’t seem to be generating data anymore. I needed it a lot a while ago and I think it was casued by a failing PSU to the Pi, lately the Airspy has actually been rock solid. (Note that it assumes the script is serving raw/beast on port 33333, I don’t remember whether that’s standard or just my config.)
I mentioned the script because it actually rebooted my Pi for the first time in years last week due to COVID-19-caused silence.
