Change Env var from inside container

One of my project need to change a service environment variable, and the relaunch the service (not the device).
This is simple with you dashboard, but is it possible from inside the concerned service container ??

The usage is concerning a photo booth with multiple configuration, and the booth admin can choose a functional mode through a web interface.

Best regards

Ph Koenig

Hi, if you want your service to have the ability to restart itself in the same way the dashboard does it you can use the supervisor api: