MatthewCroughan / octobalena

Control your 3d-printer with octoprint + octoscreen via balena!
GNU General Public License v2.0
49 stars 22 forks source link

Added support to restart OctoPrint, reboot, and shutdown #42

Closed thzinc closed 3 years ago

thzinc commented 3 years ago

The killall command was missing (installed as a part of the psmisc package), which was causing OctoPrint to fail to restart itself when making changes that needed to be applied via service restart.

Also, added the Balena supervisor API commands to reboot and shutdown.

MatthewCroughan commented 3 years ago

A really good find :D