Manage viam-agent
viam-agent
is installed as a systemd
service named viam-agent
.
To start
viam-agent
:sudo systemctl start viam-agent
To stop
viam-agent
:Alert
When you stop
viam-agent
, the agent will stopviam-server
as well.sudo systemctl stop viam-agent
To restart
viam-agent
:Alert
When you restart
viam-agent
, the agent will restartviam-server
as well.sudo systemctl restart viam-agent
To completely uninstall
viam-agent
andviam-server
, run the following command:sudo /bin/sh -c "$(curl -fsSL https://storage.googleapis.com/packages.viam.com/apps/viam-agent/uninstall.sh)"
This command uninstalls
viam-agent
,viam-server
, the machine configuration file (/etc/viam.json ), and the provisioning configuration file (/etc/viam-provisioning.json ).
Troubleshooting
You can find assistance in the Troubleshooting section.
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!