Data relay agent management
The following explains how to restart, pause, or delete the Go agent service.
Restarting the agent service
If the WhaTap agent service is running or erroneous, restart it.
- Red Hat/CentOS
- Debian/Ubuntu
- Amazon Linux
- Alpine Linux
SH
$ service whatap-agent restart
SH
$ sudo service whatap-agent restart
SH
$ sudo service whatap-agent restart
SH
$ /usr/whatap/agent/whatap-agent stop
$ /usr/whatap/agent/whatap-agent start
Stopping the whatap-agent service
- Red Hat/CentOS
- Debian/Ubuntu
- Amazon Linux
- Alpine Linux
SH
$ sudo service whatap-agent stop
SH
$ sudo service whatap-agent stop
SH
$ sudo service whatap-agent stop
SH
$ /usr/whatap/agent/whatap-agent stop
Agent deletion
Delete the WhaTap library from the Go application's source code.
- Red Hat/CentOS
- Debian/Ubuntu
- Amazon Linux
- Alpine Linux
SH
$ sudo yum remove whatap-agent
SH
$ sudo apt-get purge whatap-agent
SH
$ sudo yum remove whatap-agent
SH
$ /usr/whatap/agent/whatap-agent stop
# /usr/whatap/agent Deleting the directory
$ sudo rm -r /usr/whatap/agent