mozilla

Restart the arbiter or a watcher

This command restart all the process in a watcher or all watchers. This funtion simply stop a watcher then restart it.

ZMQ Message

{
    "command": "restart",
    "properties": {
        "name": "<name>",
        "waiting": False
    }
}

The response return the status “ok”.

If the property name is present, then the reload will be applied to the watcher.

If waiting is False (default), the call will return immediately after calling stop_signal on each process.

If waiting is True, the call will return only when the restart process is completely ended. Because of the graceful_timeout option, it can take some time.

Command line

$ circusctl restart [<name>] [--waiting]

Options

  • <name>: name of the watcher