Documentation/Agent

Removing the agent

David Mytton
posted this on Jan 28 17:05

Linux - if you used our OS packages (yum/apt)

CentOS / Fedora / Red Hat

sudo yum 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.

Debian / Ubuntu

apt-get remove --purge sd-agent

The --purge flag will force the removal of the init scripts and config file. Remove this flag to keep those files.


Linux - if you manually installed the agent

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/


Windows

There is an entry in Add/Remove Programs from the Windows Control Panel which will uninstall the agent.


FreeBSD / Mac

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/