The following commands apply to SLES12 and later. The commands may vary based on your operating system.
The init script located in the server where Query Service is installed supports the following commands:
| Command | Description | Example |
|---|---|---|
| start | Starts the service. If the service is already running, a new instance is not started. | Type: /etc/init.d/query-service start systemctl start query-service |
| stop | Stops the service. The script completes successfully even when the service is not running. | Type: /etc/init.d/query-service stop systemctl stop query-service |
| restart | Restarts the service. | Type: systemctl restart query-service |
| status | Provides the status of the service. | Type: systemctl status query-service |