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
Change netcat-maint script to be started via a systemd service #1
Conversation
also change the scripts name
|
I think I might create a separate systemd installer script. systemd tends to create more problems than it solves. |
|
I think I resolved the conflict and merged the request correctly. |
|
Oh you decided to use it. I can make the same changes for the mlat-client as well so the logs for that are accessible as well. |
|
Yeah might as well make it support systemd going forward. I haven't testing to see if it works from scratch. $ dpkg-buildpackage -b -uc |
|
dh clean --with python3 --buildsystem=pybuild seems to work .. |
|
Hopefully Debian/Ubuntu specific and not Raspbian |
|
forcing sudo apt install --reinstall python-minimal python3-minimal fixed it |
|
sudo systemctl status adsbexchange-feed.service Sep 09 09:17:48 ryzen-MS-7A38 systemd[1]: Started adsbexchange-feed. Seems to work on my Ubuntu desktop. If you want to convert ADSBx MLAT to a service as well. That would be great! Thanks! |
|
Why aren't you using mlat-client version 0.2.10 instead of 0.2.6? In setup.sh Probably doesn't make any difference. You'd have to update your mlat-client fork to 0.2.10. |
|
Way back when there were significant bugs past 0.2.6 FlightAware hired Oliver and stopped all dev on these projects - we kept it at the stable version at the time maybe 0.2.10 is just as good or better .. not sure |
|
I think it might solve some problems with the newer python versions. At least dump1090 is still open source even if the webinterface is branded. The server version has an experimental branch which should help with synchronization when the feeders are clumped together. (tree sync instead of syncing every receiver pair individually) |
|
We can give it a go. Recommendations for setting up the mlat-client as service? |
|
I tried the experimental branch on an MLAT slice and it seems to be non-functional. |
|
mlat-client as systemd service is in this pull request: #2 |
Hey James,
i've been wondering if you would be interested to change over the scripts to be started via systemd service.
Raspbian per default logs systemd service to the systemd journal, which is held in memory.
This is nice as no log rotation or anything is needed while still having the ability to check the log.
In this PR i've only changed over the netcat maint script, but changing over MLAT as well would be easy, but wanted to ask first if you are interested.