configuration / services

CLI REST-API

status

status [service]
The "status" command will check if the service is running and then prints the
result of this check.

RESTAPI: The data can be passed in the body like this:
{
    "parameters": {
        "service": "https"
    }
}
NameValueDescriptionExample
servicehttps
See also:
/configuration/services: services
/configuration/services/start: start the service process if it is not already running
/configuration/services/stop: stop a service if it is not already running
/configuration/services/restart: stop and start the service

REST-API Support:


This command is supported by the REST API:

Method: PUT
URL: /api/configuration/services/status
Body:
{
    "parameters": {
        "service": [service]
    }
}

Example using curl:
curl -X PUT /api/configuration/services/status -d 
"{
    \"parameters\": {
        \"service\": \"https\"
    }
}"