MacOS: Restarting and Reinstalling the Automox Agent

Follow

Determine if Automox agent is running:

ps aux | grep amagent

 

Restart the Agent

Unload the agent: 
sudo launchctl unload /Library/LaunchDaemons/com.automox.agent.plist


Load the agent:
sudo launchctl load /Library/LaunchDaemons/com.automox.agent.plist

 

Reinstalling the Agent

Uninstall agent:
sudo launchctl unload /Library/LaunchDaemons/com.automox.agent.plist && sudo rm -f /usr/local/bin/amagent && sudo rm -rf "/Library/Application Support/Automox/"

Install agent (PLEASE PROVIDE YOUR ACCESS KEY AS INDICATED):
curl -sS https://console.automox.com/downloadInstaller?accesskey=YOUR_ORGANIZATION_KEY_HERE | sudo bash && sudo launchctl load /Library/LaunchDaemons/com.automox.agent.plist

Have more questions? Submit a request

0 Comments

Article is closed for comments.