NomadNetwork as daemon #49
jphastings
started this conversation in
Nomad Network
Replies: 1 comment 3 replies
-
Thanks for bringing this up. It is definitely the intention that nomadnet should be able to run as a daemon. I just haven't gotten around to completely finishing the mode yet. Very minimal work is needed for it though, so I'll prioritize this so you can get the docker image working. I'll probably be able to have a 0.1.8 released on pypi this week with daemon mode implemented. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks,
I've built a simple Docker container that should run NomadNetwork on boot, however it seems it won't work without a TTY to attach to (for the UI).
This works great with my image when
user_interface = text
(it uses the text UI):docker run -it jphastings/reticulum sh # / nomadnet [Notice] Configuration loaded from /root/.nomadnetwork/config etc
But running nomadnet directly when
user_interface = none
doesn't work anywhere (though it looks like it should):# / nomadnet [Notice] Configuration loaded from /root/.nomadnetwork/config [Error] Invalid UI mode
And running nomadnet directly doesn't work when it's set to
text
:The failure looks like this (click to expand)
Am I missing something?
PS. If you want to test with config on your host machine or with a LoRa device/network access, this snippet may help:
Then you can watch the logs by finding the docker id (
docker ps
) and runningdocker logs <your containers id>
. (Running without the-d
attaches the nomadnetwork instance to your TTY and works fine 😊)Beta Was this translation helpful? Give feedback.
All reactions