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-serveras well.sudo systemctl stop viam-agent -
To restart
viam-agent:Alert
When you restart
viam-agent, the agent will restartviam-serveras well.sudo systemctl restart viam-agent -
To completely uninstall
viam-agentandviam-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.