floitsch 06/12/2025 08:02 AMJaguar doesn't have any service (yet), so no other container can tell Jaguar to turn off the WiFi.
When you run
or container install
a container you can tell Jaguar that it should turn off the wifi (-D jag.wifi=false
). As kaxory said: there is a default timeout, after which the program is killed, to allow Jaguar to be accessible. Setting it to 1000h basically makes that timeout infinite.
When the container/program with the jag.wifi=false
stops, then Jaguar resumes and starts again the WiFi.
Notes:
- the Jaguar service has gotten a bit more complicated with the different endpoints, but it's still really manageable. Don't hesitate to look at the sources.
- You could, in theory, add a container that provides a network service. That service could then be in control of whether WiFi is actually running or not. When using Artemis, net open
is handled by such a service. This is, why you can do just net.open
there and end up with a cellular service.
We typically call this then the "network manager".