https://toitlang.org/ logo
Stop jag startup on crashed container after `-D ja...
# help
a
I have a jag container that I start with
-D jag.disabled -D jag.timeout=16h
, however if it crashes or restarts jag seems to come back. Is there a way to prevent this?
k
Would you want your container to restart on crashes? How does the container restart?
I think jag just listens for termination events, but that could be extended.
a
> Would you want your container to restart on crashes? How does the container restart? Yes probably. TLDR for the container is it sets up its own access point, hence jag needs turning off and seemingly sometimes it OOMs in the wifi stack for some reason (perhaps while im buksy dooing other stuff
f
Just in case: I see a 16h timeout and infrequent OOMs being a concern. This makes me think you want to deploy Jaguar in production. Typically we use Jaguar only for development. Deployed products don't need it anymore.