Agent removal

How to remove the agent depends on how you installed it:

If you installed the agent using our OS packages (yum/apt)

Just use your package manager to remove the agent. For Red Hat, Fedora or CentOS:

sudo yum remove sd-agent

or for Debian and Ubuntu

apt-get remove sd-agent

Your config will be saved in /etc/sd-agent/ and any logs at /var/log/sd-agent/ so you may need to remove these manually.

If you installed the agent manually

The agent installs no extra files into your system so you can delete it by stopping the agent process and then removing the directory the agent files are within:

cd sd-agent
python agent.py stop
cd ../
rm -rf sd-agent/