Restarting Modzy Core

If Modzy Core ever stops running on one of your edge devices, all of the models hosted on that device will also stop running. It can be helpful, then, to be able to restart Modzy Core without having to establish a new connection back to your enterprise instance of Modzy. Use the --resume flag to restart core and any models deployed to your device.

🚧

Restarting without --resume creates another copy of your device in its device group

If you choose to restart your edge device without using the --resume flag, then you'll notice that a new device appears within the device group you created in Modzy Enterprise. This is because starting ./modzy-core without specifying that you'd like to resume, treats the device as if it's brand new. This can create many extra copies that you may want to delete from the Edge Devices page.

Examples

Restarting Modzy Core

This example shows how to restart Modzy Core using the standard server mode with the same settings it had when it was shut down. You can run this command from your edge device's terminal.

$ ./modzy-core server --resume

Restarting Modzy Core in Direct Mode

This example shows how to restart Modzy Core in direct mode, which doesn't save any inference results locally. This is the fastest way to run your models on an edge device. You can run this command from your edge device's terminal.

$ ./modzy-core direct --resume