Skip to main content

TrustEdge agent as a service

When run as a service, TrustEdge agent allows for continuous secure communication, authentication, and lifecycle management of IoT devices through DigiCert® Device Trust Manager.

Manage TrustEdge agent service

To start TrustEdge agent as a service:

sudo systemctl start trustedge.service

To check the service status:

sudo systemctl status trustedge.service

When running as a service, TrustEdge agent logs are written using the system service journald.

To check the logs:

sudo journalctl -f -u trustedge.service

To stop the service:

sudo systemctl stop trustedge.service

To restart the service:

sudo systemctl restart trustedge.service

Resetting the TrustEdge agent allows you to reset the device and reprovision it as a new device without the need to uninstall or reinstall the TrustEdge agent. Reset removes the bootstrap configuration, certificates, and keys from the device and prepares TrustEdge agent to accept a new bootstrap configuration.

To reset TrustEdge agent to factory settings:

sudo trustedge agent --reset