The Matrix42 Remote Desktop Gateway offers a command-line tool which allows to perform administrative task e.g. update, restart or remove actions. The following document is the reference of the command line tool:
Usage: m42-gateway <<command>> [options]
The start command allows to start the gateway service on the underlying machine. When the services are running the controller is doing nothing. In the case that just a couple services are running the controller starts all non running services.
The stop command allows to stop the gateway service on the underlying machine. When the services are not running the controller is doing nothing. In the case that just a couple services are running the controller stops all not stopped services.
The restart command combines the stop and start command and is available just for convenience reasons.
The clean command stops all running services and unregisters all containers. This task should only be executed when an existing server should be cleaned up totally. After that the setup procedure needs to be executed again.
The setup command starts the announcement process to initialize a trustworthy relationship between the remote desktop appliance and MyWorkspace. The command requires the TenantId. Please follow the getting started guide to get detailed information how to retrieve the TenantId.
m42-gateway setup <<TENANTD>>