Skip to content

Managing the *nix agent

Humberto Chacon edited this page Jul 5, 2014 · 8 revisions

Starting, stopping, and uninstalling the agent

Mac

Stopping the agent

In order to stop the Mac agent, run the command below. This does not disable the agent from starting up again on system reboot, however. (In order to stop the agent from starting on its own during startup the plist file must be removed.)

sudo launchctl unload /Library/LaunchDaemons/com.toppatch.agent.plist

Starting the agent

To start the agent run the command:

sudo launchctl load -w /Library/LaunchDaemons/com.toppatch.agent.plist

The plist file must exist in the /Library/LaunchDaemons directory in order to start the daemon process with this command.

Uninstalling the agent

In order to uninstall the agent we have provided an uninstall script to facilitate the process. Simply run the command below and the agent will be completely removed from the system.

sudo /opt/TopPatch/agent/agent_utils --uninstall

Linux

Stopping the agent

To stop the agent, run the command:

sudo service tpagentd stop

Starting the agent

To start the agent, run the command:

sudo service tpagentd start

Uninstalling the agent

In order to uninstall the agent we have provided an uninstall script to facilitate the process. Simply run the command below and the agent will be completely removed from the system.

sudo /opt/TopPatch/agent/agent_utils --uninstall