Skip to main content

Uninstalling

Removing the agent is two parts: stop and remove it on the host, then revoke its key in the console so it can no longer connect.

On the host

sudo systemctl stop wakora-agent
sudo systemctl disable wakora-agent
sudo rm -f /etc/systemd/system/wakora-agent.service
sudo systemctl daemon-reload
sudo rm -f /usr/local/bin/wakora
sudo rm -rf /etc/wakora /var/lib/wakora /var/log/wakora

On OpenRC use rc-service wakora-agent stop and rc-update del wakora-agent. On sysvinit use /etc/init.d/wakora-agent stop and remove the init script.

Removing /etc/wakora (or %ProgramData%\Wakora) deletes the identity, so the per-server key is gone from the host.

Revoke the key

Remove the host in the console. That revokes its per-server key, so even a leftover copy of the identity cannot reconnect. Do this whenever you decommission a host, not just on a clean uninstall.

If installed from a package

Planned

When the .deb package ships, remove it through the package manager instead of deleting files by hand. Today the installer places the binary and unit directly, so the steps above apply.