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
- Linux (systemd)
- macOS
- Windows
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.
sudo wakora service uninstall
sudo rm -f /usr/local/bin/wakora
sudo rm -rf /etc/wakora /var/lib/wakora /var/log/wakora
.\wakora.exe service uninstall
Remove-Item -Recurse -Force "$env:ProgramData\Wakora"
Then delete wakora.exe.
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
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.