This command stops a given watcher or all watchers.
{
"command": "stop",
"properties": {
"name": "<name>",
"waiting": False
}
}
The response returns the status “ok”.
If the name property is present, then the stop will be applied to the watcher corresponding to that name. Otherwise, all watchers will get stopped.
If waiting is False (default), the call will return immediatly after calling stop_signal on each process.
If waiting is True, the call will return only when the stop process is completly ended. Because of the graceful_timeout option, it can take some time.