Restarting App from within script


Is it possible to restart the application on a specific Pi from a local script? I need this to make the I2C interface work. Previously I was able to call “shutdown -r now” from my script in case the interface was not yet up but this no longer appears to work. Restarting the whole app from the web interface is not practical for us as it would interrupt all the other deployed Pis.



Sorry for the delay! I’ll raise this with my colleagues and get back to you!

Best, Lorenzo


Hey, changing a device specific env var will trigger that device’s app to restart (in order to apply the env var), however this will remove any temporary changes (if you need persistent data you can store it in /data) - we’re also working on adding the ability to restart a single app easily on the interface